Browse Source

electronicarts: Pass error through ea_read_header().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 13 years ago
parent
commit
f37174bc19
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/electronicarts.c

+ 1
- 1
libavformat/electronicarts.c View File

@@ -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) {


Loading…
Cancel
Save