w64dec: fix end position of summarylist guid

Noticed-by: James Almer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
(cherry picked from commit 3e36dc8626)
This commit is contained in:
Paul B Mahol
2013-09-03 01:03:10 +00:00
committed by Carl Eugen Hoyos
parent f1f8c0e558
commit b438451b7e

View File

@@ -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++) {