Commit 2ca649f1 authored by Michael Niedermayer's avatar Michael Niedermayer

utils: fix integer overflow with DURATION_MAX_READ_SIZE

Fixes CID703746
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1c445f4b
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment