diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-09-03 01:03:10 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-09-03 01:03:10 +0000 |
commit | 3e36dc8626f4721ea749286dae40169ee5cb7d04 (patch) | |
tree | cc0f643c4d81dd792ff94d5260e631bb4201ca18 /libavformat | |
parent | 79b70e47a463057a3a48353ee1dd58671c11f86c (diff) | |
download | ffmpeg-3e36dc8626f4721ea749286dae40169ee5cb7d04.tar.gz |
w64dec: fix end position of summarylist guid
Noticed-by: James Almer
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat')
-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 0dee7f329c..9a01705d9c 100644 --- a/libavformat/wavdec.c +++ b/libavformat/wavdec.c @@ -674,7 +674,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++) { |