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:
authorTimo Teräs <timo.teras@iki.fi>2015-11-28 09:27:39 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-03 19:43:30 +0300
commit64f7db554ee83846f207e82a08946a6a5a6acfe2 (patch)
tree707a18bd87f416dcd9a458e659b528228660409b /libavformat/internal.h
parentfff7f2df31e942edd33287a3570466ebb9f91811 (diff)
mpegencts: Fix overflow in cbr mode period calculations
ts->mux_rate is int (signed 32-bit) type. The period calculations will start to overflow when mux_rate > 5mbps. This fixes overflows by converting first to 64-bit type. Fixes #5044. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/internal.h')
0 files changed, 0 insertions, 0 deletions