diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-04 04:02:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-04 22:18:01 +0100 |
commit | 9f9b6388a3a55d2fe5bae045949c98ec911d16e6 (patch) | |
tree | 51bdd71d6b269fc4214eb0bfd347b712c493591e | |
parent | 32b62c7d6ad69c3a92228c123051557588cdfd5e (diff) | |
download | ffmpeg-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.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) { |