Re: [FFmpeg-devel] [PATCH] rtpdec: explicit timestamp wraparound handling

2025-06-14 Thread Michael Niedermayer
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

[FFmpeg-devel] [PATCH] rtpdec: explicit timestamp wraparound handling

2025-06-08 Thread Clément Péron
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 --- libavformat/rtpdec.c | 6 -- 1 file change