Skip to content
Snippets Groups Projects
Commit 1ca157b0 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

fftools/ffmpeg: Fallback to duration if sample rate is unavailable


Regression since: af1761f7
Fixes: Division by 0
Fixes: ffmpeg_crash_1

Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan Caciulescu with AFLSmart
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 16d8b13b)
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent f3612851
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment