aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ffv1_parse.c
diff options
context:
space:
mode:
authorGyan Doshi <ffmpeg@gyani.pro>2025-01-27 10:54:07 +0530
committerGyan Doshi <ffmpeg@gyani.pro>2025-02-06 16:06:20 +0530
commit6da82b448568a1875b32a7135fe30b7da8d197e7 (patch)
tree96b431b57fcc8c545a321c52fbe1beb383b64034 /libavcodec/ffv1_parse.c
parent779a3187a8002aa7c375b3882d8010926656558e (diff)
downloadffmpeg-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