summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-17 00:22:23 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-18 00:40:06 +0100
commit2007082d2db25f9305b8a345798b840ea7784fdb (patch)
tree442ffd311e9f109a7824ffd2b9c40e04f448863a /libavformat/mov.c
parent85dc006b1a829726dd5e3a9b0fcc6a1dbfe6dffa (diff)
mov: check ff_get_wav_header() return value
CC: libav-stable@libav.org Bug-Id: CID 717497
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index c22df1e03a..39e6883d20 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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)