diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-02 22:50:00 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-09-02 22:55:46 +0000 |
commit | 79b70e47a463057a3a48353ee1dd58671c11f86c (patch) | |
tree | 9d82510ffcdc48a6088b618a4a03b4e172c3e0df | |
parent | fdd1aaf87aaedef00f8b60ad148ccf48226b9d5c (diff) | |
download | ffmpeg-79b70e47a463057a3a48353ee1dd58671c11f86c.tar.gz |
w64dec: fix skipping of unknown guids
Regression since 14d50c1.
Fixes #2932.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavformat/wavdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wavdec.c b/libavformat/wavdec.c index d5b3b9ef2f..0dee7f329c 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -700,7 +700,7 @@ static int w64_read_header(AVFormatContext *s) avio_skip(pb, end - avio_tell(pb)); } else { av_log(s, AV_LOG_DEBUG, "unknown guid: "FF_PRI_GUID"\n", FF_ARG_GUID(guid)); - avio_skip(pb, size - 24); + avio_skip(pb, FFALIGN(size, INT64_C(8)) - 24); } } |