From f3298f12997eb4b7ad203766f768f92e3dd72a2a Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 23 Dec 2012 18:10:05 +0100 Subject: Return proper error code after av_log_ask_for_sample() --- libavformat/filmstripdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/filmstripdec.c') diff --git a/libavformat/filmstripdec.c b/libavformat/filmstripdec.c index 7c327e9324..97cecfa58a 100644 --- a/libavformat/filmstripdec.c +++ b/libavformat/filmstripdec.c @@ -56,7 +56,7 @@ static int read_header(AVFormatContext *s) st->nb_frames = avio_rb32(pb); if (avio_rb16(pb) != 0) { av_log_ask_for_sample(s, "unsupported packing method\n"); - return AVERROR_INVALIDDATA; + return AVERROR_PATCHWELCOME; } avio_skip(pb, 2); -- cgit v1.2.3