[FFmpeg-devel] [PATCH] libavformat/rtpdec: fix issue with conversion from unsigned to signed

Michael Niedermayer michaelni at gmx.at
Sat Feb 21 14:33:39 CET 2015


On Fri, Feb 20, 2015 at 07:14:53AM +0100, Gilles Chanteperdrix wrote:
> When receiving an RTCP packet, the difference between the last RTCP
> timestamp and the base timestamp may be negative. As these timestamps
> are of the uint32_t type, the result becomes a large integer. Cast
> the difference to int32_t to avoid this issue.
> 
> The result of this issue is very large start times for RTSP
> streams, and difficulty to restart correctly after a pause.
> 
> Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org>

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150221/750afa80/attachment.asc>


More information about the ffmpeg-devel mailing list