avformat/brstm: lower magic number, fixes decoding of some files
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
6518cbc52a
commit
76466ab214
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user