Skip to content
Snippets Groups Projects
Commit f37174bc authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

electronicarts: Pass error through ea_read_header().

parent 0d3a51e5
Branches
Tags
No related merge requests found
...@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment