[FFmpeg-cvslog] avformat/brstm: lower magic number, fixes decoding of some files
Paul B Mahol
git at videolan.org
Sun Apr 3 19:22:32 CEST 2016
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Apr 3 19:12:07 2016 +0200| [76466ab214ef20ea628703457bf8d595c4669f8c] | committer: Paul B Mahol
avformat/brstm: lower magic number, fixes decoding of some files
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=76466ab214ef20ea628703457bf8d595c4669f8c
---
libavformat/brstm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/brstm.c b/libavformat/brstm.c
index aae2575..6fd44f1 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);
More information about the ffmpeg-cvslog
mailing list