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
1 changed files with 1 additions and 3 deletions

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)