Timo Teräs ec94195b80 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 .

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>
2015-12-06 12:40:51 +01:00
..
2014-08-24 11:05:42 +00:00
2014-09-13 23:02:51 +02:00
2015-01-13 00:00:43 +01:00
2014-08-09 15:51:04 +02:00
2014-08-30 15:50:22 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-16 14:31:41 +02:00
2014-08-24 11:05:42 +00:00
2015-10-09 22:07:29 +02:00
2014-08-24 11:05:42 +00:00
2014-12-16 23:55:35 +01:00
2015-01-18 02:38:01 +01:00
2014-08-15 22:47:45 +02:00
2014-09-03 02:39:24 +02:00
2014-11-14 20:22:40 +01:00
2015-01-13 00:04:43 +01:00
2015-06-01 23:25:19 +02:00
2014-08-30 16:38:14 +02:00
2014-08-24 11:05:42 +00:00
2014-09-02 12:02:03 +02:00
2015-11-26 01:38:17 +01:00
2014-12-19 18:02:13 -03:00
2014-09-03 02:39:24 +02:00
2014-08-15 22:47:45 +02:00
2014-09-03 02:39:24 +02:00
2014-09-05 23:13:07 +02:00
2014-10-04 23:52:29 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2015-02-13 20:48:08 +01:00
2014-09-05 23:13:08 +02:00
2014-08-03 03:18:52 +02:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00
2014-08-24 11:05:42 +00:00