Commit deeba777 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '27b99d92'

* commit '27b99d92':
  siff: Return more meaningful error values

Conflicts:
	libavformat/siff.c

See: 29c3ebf5Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 46a16ca1 27b99d92
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment