summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-17 23:30:16 +0200
committerwm4 <wm4@nowhere>2014-06-17 23:30:27 +0200
commita28e2a7432f68e4a5db96cce8cbaa859327c4527 (patch)
tree90dd1b68bbf99814ac38fbb92d98e5ca51858ebb /video/sws_utils.c
parentefa6b09b65f8c87a18745352777225adef7dbfc0 (diff)
downloadmpv-a28e2a7432f68e4a5db96cce8cbaa859327c4527.tar.bz2
mpv-a28e2a7432f68e4a5db96cce8cbaa859327c4527.tar.xz
video: correct spelling: mp_image_params_equals -> mp_image_params_equal
The type is struct mp_image_params, so the "params" should have a "s". "equals" shouldn't, because it's plural for 2 params. Important.
Diffstat (limited to 'video/sws_utils.c')
-rw-r--r--video/sws_utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/sws_utils.c b/video/sws_utils.c
index 46571c018d..a7fcc0469c 100644
--- a/video/sws_utils.c
+++ b/video/sws_utils.c
@@ -119,8 +119,8 @@ static bool cache_valid(struct mp_sws_context *ctx)
struct mp_sws_context *old = ctx->cached;
if (ctx->force_reload)
return false;
- return mp_image_params_equals(&ctx->src, &old->src) &&
- mp_image_params_equals(&ctx->dst, &old->dst) &&
+ return mp_image_params_equal(&ctx->src, &old->src) &&
+ mp_image_params_equal(&ctx->dst, &old->dst) &&
ctx->flags == old->flags &&
ctx->brightness == old->brightness &&
ctx->contrast == old->contrast &&