diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-12-23 18:10:05 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-12-23 18:56:56 +0100 |
commit | f3298f12997eb4b7ad203766f768f92e3dd72a2a (patch) | |
tree | e349cd427d9cfcf74aae21a85cff911c2aacaee6 /libavformat/smjpegdec.c | |
parent | ed40b6bf07342dc80f616e909f0e6fec4073ade4 (diff) | |
download | ffmpeg-f3298f12997eb4b7ad203766f768f92e3dd72a2a.tar.gz |
Return proper error code after av_log_ask_for_sample()
Diffstat (limited to 'libavformat/smjpegdec.c')
-rw-r--r-- | libavformat/smjpegdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/smjpegdec.c b/libavformat/smjpegdec.c index 4cbfa2a580..39bb1b45f5 100644 --- a/libavformat/smjpegdec.c +++ b/libavformat/smjpegdec.c @@ -78,7 +78,7 @@ static int smjpeg_read_header(AVFormatContext *s) case SMJPEG_SND: if (ast) { av_log_ask_for_sample(s, "multiple audio streams not supported\n"); - return AVERROR_INVALIDDATA; + return AVERROR_PATCHWELCOME; } hlength = avio_rb32(pb); if (hlength < 8) |