mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-27 09:43:34 +00:00
ffmdec: Check return value of ffm_append_recommended_configuration
Reviewed-by: Lukasz Marek <lukasz.m.luki2@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
aae9f52c4e
commit
8d15de7eb2
@ -438,7 +438,8 @@ static int ffm2_read_header(AVFormatContext *s)
|
||||
}
|
||||
avio_get_str(pb, INT_MAX, buffer, size);
|
||||
av_set_options_string(codec, buffer, "=", ",");
|
||||
ffm_append_recommended_configuration(st, &buffer);
|
||||
if ((ret = ffm_append_recommended_configuration(st, &buffer)) < 0)
|
||||
goto fail;
|
||||
break;
|
||||
}
|
||||
avio_seek(pb, next, SEEK_SET);
|
||||
|
Loading…
Reference in New Issue
Block a user