mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-01 04:13:57 +00:00
Merge commit '27b99d929fe3440b4bba8e5d970c2802f274f328'
* commit '27b99d929fe3440b4bba8e5d970c2802f274f328':
siff: Return more meaningful error values
Conflicts:
libavformat/siff.c
See: 29c3ebf56e
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
deeba777ad
@ -137,8 +137,8 @@ static int siff_parse_vbv1(AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
|
||||
c->has_video = 1;
|
||||
c->has_audio = !!c->rate;
|
||||
c->curstrm = -1;
|
||||
if (c->has_audio && create_audio_stream(s, c) < 0)
|
||||
return AVERROR(ENOMEM);
|
||||
if (c->has_audio)
|
||||
return create_audio_stream(s, c);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user