From a28e2a7432f68e4a5db96cce8cbaa859327c4527 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 17 Jun 2014 23:30:16 +0200 Subject: 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. --- video/sws_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/sws_utils.c') 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 && -- cgit v1.2.3