mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-02 18:48:27 +00:00
electronicarts: Pass error through ea_read_header().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit f37174bc19
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
32b62c7d6a
commit
9f9b6388a3
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user