diff options
author | nilfm <nilf@netflix.com> | 2023-12-01 19:08:23 +0000 |
---|---|---|
committer | Kyle Swanson <kswanson@netflix.com> | 2023-12-08 10:32:46 -0800 |
commit | 5f4b7bf2b5b675a4a1dfc3b64c1c5dd03d80f278 (patch) | |
tree | c739c546b1abec340c5d06432fece75828224160 /libavformat/assenc.c | |
parent | b3825bbe452c8e4f129fa90bba1fed0ee7b87d71 (diff) | |
download | ffmpeg-5f4b7bf2b5b675a4a1dfc3b64c1c5dd03d80f278.tar.gz |
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 <nilf@netflix.com>
Diffstat (limited to 'libavformat/assenc.c')
0 files changed, 0 insertions, 0 deletions