[FFmpeg-cvslog] electronicarts: Pass error through ea_read_header().

Michael Niedermayer git at videolan.org
Wed Jan 4 05:04:10 CET 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jan  4 04:02:22 2012 +0100| [f37174bc1913d534913e8825f1609a637cc4b364] | committer: Michael Niedermayer

electronicarts: Pass error through ea_read_header().

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f37174bc1913d534913e8825f1609a637cc4b364
---

 libavformat/electronicarts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 41ed089..43d1f26 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) {



More information about the ffmpeg-cvslog mailing list