[FFmpeg-devel] [PATCH] rtpdec: explicit timestamp wraparound handling
Michael Niedermayer
michael at niedermayer.cc
Sat Jun 14 23:55:19 EEST 2025
On Sun, Jun 08, 2025 at 05:07:37PM +0200, Clément Péron wrote:
> Change delta_timestamp to int32_t and add explicit cast to handle
> RTP timestamp wraparound correctly. This fixes implementation-defined
> behavior when computing negative timestamp differences due to 32-bit
> wraparound.
>
> Signed-off-by: Clément Péron <peron.clem at gmail.com>
> ---
> libavformat/rtpdec.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Any man who breaks a law that conscience tells him is unjust and willingly
accepts the penalty by staying in jail in order to arouse the conscience of
the community on the injustice of the law is at that moment expressing the
very highest respect for law. - Martin Luther King Jr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250614/e600c3fd/attachment.sig>
More information about the ffmpeg-devel
mailing list