diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-03 01:03:10 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2013-09-05 23:08:30 +0200 |
commit | b438451b7eb855fb5197da24fccf57d590b8c4fd (patch) | |
tree | 4a42800cf9fa27e4924bac10bbb5b2b390ae55a2 | |
parent | f1f8c0e558c6b888f8b7d87eadea7469570d6737 (diff) | |
download | ffmpeg-b438451b7eb855fb5197da24fccf57d590b8c4fd.tar.gz |
w64dec: fix end position of summarylist guid
Noticed-by: James Almer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit 3e36dc8626f4721ea749286dae40169ee5cb7d04)
-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 ca1e8edba3..b71fb016e6 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -629,7 +629,7 @@ static int w64_read_header(AVFormatContext *s) uint32_t count, chunk_size, i; start = avio_tell(pb); - end = start + size; + end = start + FFALIGN(size, INT64_C(8)) - 24; count = avio_rl32(pb); for (i = 0; i < count; i++) { |