aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/electronicarts.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-01-04 04:02:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-01-04 04:02:22 +0100
commitf37174bc1913d534913e8825f1609a637cc4b364 (patch)
treece64af486b36ceb210d70a3af9a38f4fb2a67347 /libavformat/electronicarts.c
parent0d3a51e5d279dd2a56c81ba7a81a70128c5a7545 (diff)
downloadffmpeg-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.c2
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) {