mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
mov: check ff_get_wav_header() return value
CC: libav-stable@libav.org Bug-Id: CID 717497
This commit is contained in:
parent
85dc006b1a
commit
2007082d2d
@ -647,9 +647,7 @@ static int mov_read_wfex(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
return 0;
|
||||
st = c->fc->streams[c->fc->nb_streams-1];
|
||||
|
||||
ff_get_wav_header(pb, st->codec, atom.size);
|
||||
|
||||
return 0;
|
||||
return ff_get_wav_header(pb, st->codec, atom.size);
|
||||
}
|
||||
|
||||
static int mov_read_pasp(MOVContext *c, AVIOContext *pb, MOVAtom atom)
|
||||
|
Loading…
Reference in New Issue
Block a user