git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d4c9ece
)
lavf/brstm: allow larger block sizes
author
Rodger Combs
<rodger.combs@gmail.com>
Sat, 20 Jun 2015 10:01:16 +0000
(
05:01
-0500)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 20 Jun 2015 17:21:08 +0000
(19:21 +0200)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/brstm.c
patch
|
blob
|
history
diff --git
a/libavformat/brstm.c
b/libavformat/brstm.c
index
15e63b8
..
564be16
100644
(file)
--- a/
libavformat/brstm.c
+++ b/
libavformat/brstm.c
@@
-223,7
+223,7
@@
static int read_header(AVFormatContext *s)
}
b->block_size = read32(s);
- if (b->block_size > UINT
16
_MAX / st->codec->channels)
+ if (b->block_size > UINT
32
_MAX / st->codec->channels)
return AVERROR_INVALIDDATA;
b->block_size *= st->codec->channels;