Commit 76466ab2 authored by Paul B Mahol's avatar Paul B Mahol

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

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 6518cbc5
...@@ -169,7 +169,7 @@ static int read_header(AVFormatContext *s) ...@@ -169,7 +169,7 @@ static int read_header(AVFormatContext *s)
} }
size = read32(s); size = read32(s);
if (size < 192) if (size < 40)
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
avio_skip(s->pb, 4); // unknown avio_skip(s->pb, 4); // unknown
h1offset = read32(s); h1offset = read32(s);
......
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