1
0
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:
Vittorio Giovara 2014-11-17 00:22:23 +01:00
parent 85dc006b1a
commit 2007082d2d

View File

@ -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)