mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02: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