mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-14 03:04:53 +00:00
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);
|
||||
if (size < 192)
|
||||
if (size < 40)
|
||||
return AVERROR_INVALIDDATA;
|
||||
avio_skip(s->pb, 4); // unknown
|
||||
h1offset = read32(s);
|
||||
|
Loading…
Reference in New Issue
Block a user