diff options
author | Timo Teräs <timo.teras@iki.fi> | 2015-11-28 08:27:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-06 02:08:26 +0100 |
commit | cfd1bc581099d403b4a70981f508252f3a2e3e31 (patch) | |
tree | 50bd7f3444038a521fe9f483af54e74741345f96 /libavutil/x86/lls_init.c | |
parent | c8ca4b32754265f5a06dc59d77f88eed07ff141d (diff) | |
download | ffmpeg-cfd1bc581099d403b4a70981f508252f3a2e3e31.tar.gz |
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>
(cherry picked from commit 64f7db554ee83846f207e82a08946a6a5a6acfe2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil/x86/lls_init.c')
0 files changed, 0 insertions, 0 deletions