Message ID | 1633515251-5156-4-git-send-email-lance.lmwang@gmail.com |
---|---|
State | Accepted |
Commit | 78c30857b7c7a80ac7ff32fbb4453989e926a8c7 |
Headers | show |
Series | [FFmpeg-devel,1/8] avcodec/bitpacked: check av_buffer_ref result | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
andriy/make_ppc | success | Make finished |
andriy/make_fate_ppc | success | Make fate finished |
diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 97939b0..46d30ed 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_rfc4175.c @@ -105,7 +105,7 @@ static int rfc4175_parse_sdp_line(AVFormatContext *s, int st_index, if (!data->sampling || !data->depth || !data->width || !data->height) - return -1; + return AVERROR(EINVAL); stream->codecpar->width = data->width; stream->codecpar->height = data->height;