aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/vc1test.c
diff options
context:
space:
mode:
authornilfm <nilf@netflix.com>2023-12-01 19:08:23 +0000
committerKyle Swanson <kswanson@netflix.com>2023-12-08 10:32:46 -0800
commit5f4b7bf2b5b675a4a1dfc3b64c1c5dd03d80f278 (patch)
treec739c546b1abec340c5d06432fece75828224160 /libavformat/vc1test.c
parentb3825bbe452c8e4f129fa90bba1fed0ee7b87d71 (diff)
downloadffmpeg-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/vc1test.c')
0 files changed, 0 insertions, 0 deletions