aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-04-03 19:12:07 +0200
committerPaul B Mahol <onemda@gmail.com>2016-04-03 19:20:44 +0200
commit76466ab214ef20ea628703457bf8d595c4669f8c (patch)
tree043b8f93854550923ea86b6b23016ea2c120a161
parent6518cbc52a8c59f8f590405a852385adbc47ed62 (diff)
downloadffmpeg-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.c2
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);