You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/rtpdec_rfc4175: return the proper value
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user