aboutsummaryrefslogtreecommitdiffstats
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 22:18:01 +0100
commit9f9b6388a3a55d2fe5bae045949c98ec911d16e6 (patch)
tree51bdd71d6b269fc4214eb0bfd347b712c493591e
parent32b62c7d6ad69c3a92228c123051557588cdfd5e (diff)
downloadffmpeg-9f9b6388a3a55d2fe5bae045949c98ec911d16e6.tar.gz
electronicarts: Pass error through ea_read_header().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit f37174bc1913d534913e8825f1609a637cc4b364) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-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) {