Browse Source

w64dec: fix end position of summarylist guid

Noticed-by: James Almer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol 12 years ago
parent
commit
3e36dc8626
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/wavdec.c

+ 1
- 1
libavformat/wavdec.c View File

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


Loading…
Cancel
Save