Files
FFmpeg/libavcodec/decode.c
Thomas Guilbert 3b92cd5fa9 Guard against int overflow when discarding samples
In `discard_samples()`, the rescaling operation can evaluate to
AV_NOPTS_VALUE if the rescaling operation overflows. This commit
prevents adjusting timestamp and durations by the invalid value.

(cherry picked from commit 005e963c85)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-07-21 23:00:00 +02:00

79 KiB