diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-01 22:44:07 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:47 +0200 |
commit | 699e09f0de7c07bb1078bb9a6f6ebb190d777937 (patch) | |
tree | a2d2f19c508bb8eb5be32edd92f704bc24c11a15 /doc/examples/decoding_encoding.c | |
parent | 39723d1ccbb2b0d11ed81be742d90232fcd788ef (diff) | |
download | ffmpeg-699e09f0de7c07bb1078bb9a6f6ebb190d777937.tar.gz |
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: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 16d8b13b3b26c19d7f8856e039fe6662d96b4ff3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions