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

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2016-04-03 19:12:07 +02:00
parent 6518cbc52a
commit 76466ab214

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);