Commit f37174bc authored by Michael Niedermayer's avatar Michael Niedermayer

electronicarts: Pass error through ea_read_header().

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0d3a51e5
...@@ -408,7 +408,7 @@ static int ea_read_header(AVFormatContext *s, ...@@ -408,7 +408,7 @@ static int ea_read_header(AVFormatContext *s,
EaDemuxContext *ea = s->priv_data; EaDemuxContext *ea = s->priv_data;
AVStream *st; AVStream *st;
if (!process_ea_header(s)) if (process_ea_header(s)<=0)
return AVERROR(EIO); return AVERROR(EIO);
if (ea->video_codec) { if (ea->video_codec) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment