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:
authorRodger Combs <rodger.combs@gmail.com>2015-06-20 13:01:16 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-06-20 20:21:08 +0300
commitdb426031dd27d28df76e833da7f4490c11240981 (patch)
treeaab9af37cc055e7d55a95ce7811616960aa8e5b2 /libavformat/brstm.c
parentd4c9eced98bbb8f63132c039016abb1f1c4812ed (diff)
lavf/brstm: allow larger block sizes
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 15e63b8170..564be16ac6 100644
--- 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 > UINT16_MAX / st->codec->channels)
+ if (b->block_size > UINT32_MAX / st->codec->channels)
return AVERROR_INVALIDDATA;
b->block_size *= st->codec->channels;