Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-04-03 20:12:07 +0300
committerPaul B Mahol <onemda@gmail.com>2016-04-03 20:20:44 +0300
commit76466ab214ef20ea628703457bf8d595c4669f8c (patch)
tree043b8f93854550923ea86b6b23016ea2c120a161 /libavformat/brstm.c
parent6518cbc52a8c59f8f590405a852385adbc47ed62 (diff)
avformat/brstm: lower magic number, fixes decoding of some files
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/brstm.c')
-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);