ffmpeg/libavformat
Boris Nagels f00f588a6e avformat/rtpenc: Fix integer overflow in NTP_TO_RTP_FORMAT
RTCP synchronization packet was broken since commit in ffmpeg version > 2.8.3
(commit: e04b039b1528f4c7df5c2b93865651bfea168a19) Since this commit (2e814d0329aded98c811d0502839618f08642685)
"rtpenc: Simplify code by introducing a macro for rescaling NTP timestamps", NTP_TO_RTP_FORMAT
uses av_rescale_rnd() function to add the data to the packet.

This causes an overflow in the av_rescale_rnd() function and it will return INT64_MIN.
Causing the NTP stamp in the RTCP packet to have an invalid value.

Github: Closes #182

Reverting commit '2e814d0329aded98c811d0502839618f08642685' solves the problem.
(cherry picked from commit 1109ed7973c7fd1e7001898adc4976590d862122)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-28 03:47:13 +02:00
..
2015-05-23 22:36:02 +02:00
2015-06-08 03:36:22 +02:00
2016-01-15 16:00:31 +01:00
2016-01-31 00:23:46 +01:00
2015-06-18 22:09:01 +02:00
2016-01-28 01:05:04 +01:00
2015-06-18 22:09:01 +02:00
2016-01-15 16:00:32 +01:00
2016-01-31 00:23:45 +01:00
2015-05-26 19:54:41 +02:00
2015-06-08 03:36:22 +02:00
2016-04-28 03:47:13 +02:00
2015-11-12 02:55:46 +01:00
2015-05-31 10:10:16 +03:00
2015-05-20 19:07:26 +02:00
2015-12-20 14:18:11 +01:00
2015-11-26 01:37:12 +01:00
2015-06-07 21:55:46 +02:00
2015-05-27 21:48:47 +02:00
2015-04-23 12:56:31 +02:00
2015-04-24 03:43:56 +02:00