diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2025-01-27 10:54:07 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2025-02-06 16:06:20 +0530 |
commit | 6da82b448568a1875b32a7135fe30b7da8d197e7 (patch) | |
tree | 96b431b57fcc8c545a321c52fbe1beb383b64034 /libavcodec/ffv1_parse.c | |
parent | 779a3187a8002aa7c375b3882d8010926656558e (diff) | |
download | ffmpeg-6da82b448568a1875b32a7135fe30b7da8d197e7.tar.gz |
avfilter/xpsnr: avoid division by zero
The ref input may have its frame rate unset, which would then lead to
SIGFPE. So fall back to the main link frame rate. If that too is unset,
default to 0.
Related to #11428
Diffstat (limited to 'libavcodec/ffv1_parse.c')
0 files changed, 0 insertions, 0 deletions