Commit 3e36dc86 authored by Paul B Mahol's avatar Paul B Mahol

w64dec: fix end position of summarylist guid

Noticed-by: James Almer
Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 79b70e47
...@@ -674,7 +674,7 @@ static int w64_read_header(AVFormatContext *s) ...@@ -674,7 +674,7 @@ static int w64_read_header(AVFormatContext *s)
uint32_t count, chunk_size, i; uint32_t count, chunk_size, i;
start = avio_tell(pb); start = avio_tell(pb);
end = start + size; end = start + FFALIGN(size, INT64_C(8)) - 24;
count = avio_rl32(pb); count = avio_rl32(pb);
for (i = 0; i < count; i++) { for (i = 0; i < count; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment