diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-04 04:02:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-04 04:02:22 +0100 |
commit | f37174bc1913d534913e8825f1609a637cc4b364 (patch) | |
tree | ce64af486b36ceb210d70a3af9a38f4fb2a67347 /libavformat/electronicarts.c | |
parent | 0d3a51e5d279dd2a56c81ba7a81a70128c5a7545 (diff) | |
download | ffmpeg-f37174bc1913d534913e8825f1609a637cc4b364.tar.gz |
electronicarts: Pass error through ea_read_header().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 41ed0891b9..43d1f26a8e 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -408,7 +408,7 @@ static int ea_read_header(AVFormatContext *s, EaDemuxContext *ea = s->priv_data; AVStream *st; - if (!process_ea_header(s)) + if (process_ea_header(s)<=0) return AVERROR(EIO); if (ea->video_codec) { |