mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-20 14:31:09 +00:00
electronicarts: Pass error through ea_read_header().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0d3a51e5d2
commit
f37174bc19
@ -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…
Reference in New Issue
Block a user