aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/metadata.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-11-28 08:27:39 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-20 10:59:27 +0100
commite8fa0e3ec633f716a53ba78aa5ebe37dd69694cb (patch)
tree7f873e22386b8ee2efe87faa9f0aeff9c8afed95 /doc/examples/metadata.c
parent2e77ab8f100946d2467e3800a7964e2d94eae288 (diff)
downloadffmpeg-e8fa0e3ec633f716a53ba78aa5ebe37dd69694cb.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 'doc/examples/metadata.c')
0 files changed, 0 insertions, 0 deletions