diff options
author | nilfm <[email protected]> | 2023-12-01 19:08:23 +0000 |
---|---|---|
committer | Kyle Swanson <[email protected]> | 2023-12-08 10:32:46 -0800 |
commit | 5f4b7bf2b5b675a4a1dfc3b64c1c5dd03d80f278 (patch) | |
tree | c739c546b1abec340c5d06432fece75828224160 /libavutil/hwcontext_cuda.h | |
parent | b3825bbe452c8e4f129fa90bba1fed0ee7b87d71 (diff) |
avfilter/vf_libvmaf: fix string comparison bug
The libvmaf filter was doing substring checks in place of string equality
comparisons. This led to a bug when the user specified the pooling method
"harmonic_mean", since "mean" was checked first and the substring comparison
returned true. This patch changes all substring comparisons for string equality
comparisons. This is both correct and more efficient than the existing method.
Signed-off-by: nilfm <[email protected]>
Diffstat (limited to 'libavutil/hwcontext_cuda.h')
0 files changed, 0 insertions, 0 deletions