[FFmpeg-cvslog] mov: check ff_get_wav_header() return value
Vittorio Giovara
git at videolan.org
Tue Nov 18 03:40:01 CET 2014
ffmpeg | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Mon Nov 17 00:22:23 2014 +0100| [2007082d2db25f9305b8a345798b840ea7784fdb] | committer: Vittorio Giovara
mov: check ff_get_wav_header() return value
CC: libav-stable at libav.org
Bug-Id: CID 717497
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2007082d2db25f9305b8a345798b840ea7784fdb
---
libavformat/mov.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index c22df1e..39e6883 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)
More information about the ffmpeg-cvslog
mailing list