1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2026-05-16 08:38:24 +02:00
Files
FFmpeg/libavformat
Boris Nagels 48c25d0512 avformat/rtpenc: Fix integer overflow in NTP_TO_RTP_FORMAT
RTCP synchronization packet was broken since commit in ffmpeg version > 2.8.3
(commit: e04b039b15) Since this commit (2e814d0329)
"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 1109ed7973)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2016-04-27 04:40:11 +02:00
..
2015-08-21 04:24:58 +00:00
2016-01-15 12:30:40 +01:00
2016-01-28 15:53:54 +01:00
2015-08-18 10:24:01 -04:00
2016-01-27 23:45:44 +01:00
2015-09-03 12:42:40 +02:00
2015-08-20 12:22:50 +02:00
2016-01-15 15:49:35 +01:00
2016-01-28 15:53:54 +01:00
2016-01-15 12:30:40 +01:00
2015-08-21 04:24:58 +00:00
2015-09-01 22:46:23 +02:00
2015-12-20 13:39:45 +01:00
2015-12-06 02:51:27 +01:00
2015-09-01 13:35:37 +02:00
2015-12-13 10:14:24 +01:00