mirror of https://github.com/FFmpeg/FFmpeg.git
If a video track specifies a zero frame rate (invalid but occurs), this results in a division by zero and subsequent undefined conversion to integer. Setting the default duration from the frame rate only if the latter is greater than zero avoids such problems. Signed-off-by: Mans Rullgard <mans@mansr.com>pull/5/head
parent
ac97d47d9b
commit
3c58300269
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue