mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-19 05:20:14 +01:00
In some extrme cases, like with adpcm_ms samples with an extremely high channel count, get_audio_frame_duration() may return a negative frame duration value. Don't propagate it, and instead return 0, signaling that a duration could not be determined. Fixes ticket #9312 Signed-off-by: James Almer <jamrial@gmail.com>
35 KiB
35 KiB