mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/364/head
parent
35331aa266
commit
e01d306c64
1 changed files with 4 additions and 2 deletions
Loading…
Reference in new issue