aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-02-01 23:55:54 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-02-02 00:01:48 +0100
commit985e93a86518f05cbed873b891011290096b013b (patch)
treeb7eced283bbdbc694dfccd599d24438b82e409cc
parent8af915c21b03187ebe11823676081f6311fdbe5e (diff)
downloadffmpeg-985e93a86518f05cbed873b891011290096b013b.tar.gz
Do not fail for mixed interlaced / non-interlaced YUV4MPEG streams.
-rw-r--r--libavformat/yuv4mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c
index ff039bd37a..e2ab8e35cd 100644
--- a/libavformat/yuv4mpeg.c
+++ b/libavformat/yuv4mpeg.c
@@ -442,7 +442,7 @@ static int yuv4_read_header(AVFormatContext *s)
case 'm':
av_log(s, AV_LOG_ERROR, "YUV4MPEG stream contains mixed "
"interlaced and non-interlaced frames.\n");
- return -1;
+ break;
default:
av_log(s, AV_LOG_ERROR, "YUV4MPEG has invalid header.\n");
return -1;