Browse Source

avformat/brstm: lower magic number, fixes decoding of some files

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.1
Paul B Mahol 10 years ago
parent
commit
76466ab214
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/brstm.c

+ 1
- 1
libavformat/brstm.c View File

@@ -169,7 +169,7 @@ static int read_header(AVFormatContext *s)
}

size = read32(s);
if (size < 192)
if (size < 40)
return AVERROR_INVALIDDATA;
avio_skip(s->pb, 4); // unknown
h1offset = read32(s);


Loading…
Cancel
Save