mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 20:10:09 +01: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user