summaryrefslogtreecommitdiffstats
path: root/video/sws_utils.c
diff options
context:
space:
mode:
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 &&