diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-06 18:44:14 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-06 18:44:14 +0100 |
commit | 2ca649f177e0808cd550cf4abde793c923b66db2 (patch) | |
tree | 56be65d7414b86705cea789110c6c3423a56502f /libavformat/utils.c | |
parent | 1c445f4b93a05d466203c09b423675fe99859379 (diff) | |
download | ffmpeg-2ca649f177e0808cd550cf4abde793c923b66db2.tar.gz |
utils: fix integer overflow with DURATION_MAX_READ_SIZE
Fixes CID703746
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 72a3d5eeae..1c5614f874 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2155,7 +2155,7 @@ static void estimate_timings_from_bit_rate(AVFormatContext *ic) } } -#define DURATION_MAX_READ_SIZE 250000 +#define DURATION_MAX_READ_SIZE 250000LL #define DURATION_MAX_RETRY 4 /* only usable for MPEG-PS streams */ |