diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-04-03 19:12:07 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-04-03 19:20:44 +0200 |
commit | 76466ab214ef20ea628703457bf8d595c4669f8c (patch) | |
tree | 043b8f93854550923ea86b6b23016ea2c120a161 | |
parent | 6518cbc52a8c59f8f590405a852385adbc47ed62 (diff) | |
download | ffmpeg-76466ab214ef20ea628703457bf8d595c4669f8c.tar.gz |
avformat/brstm: lower magic number, fixes decoding of some files
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavformat/brstm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c index aae2575fb7..6fd44f168d 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -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); |