electronicarts: Pass error through ea_read_header().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/3/head
Michael Niedermayer 13 years ago
parent 0d3a51e5d2
commit f37174bc19
  1. 2
      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) {

Loading…
Cancel
Save