summaryrefslogtreecommitdiffstats
path: root/video/filter
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/filter
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/filter')
-rw-r--r--video/filter/vf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/filter/vf.c b/video/filter/vf.c
index 0d3f5094e5..f187f7f2bd 100644
--- a/video/filter/vf.c
+++ b/video/filter/vf.c
@@ -387,7 +387,7 @@ static int vf_do_filter(struct vf_instance *vf, struct mp_image *img)
{
assert(vf->fmt_in.imgfmt);
if (img)
- assert(mp_image_params_equals(&img->params, &vf->fmt_in));
+ assert(mp_image_params_equal(&img->params, &vf->fmt_in));
if (vf->filter_ext) {
int r = vf->filter_ext(vf, img);
@@ -413,7 +413,7 @@ int vf_filter_frame(struct vf_chain *c, struct mp_image *img)
talloc_free(img);
return -1;
}
- assert(mp_image_params_equals(&img->params, &c->input_params));
+ assert(mp_image_params_equal(&img->params, &c->input_params));
vf_fix_img_params(img, &c->override_params);
return vf_do_filter(c->first, img);
}
@@ -580,7 +580,7 @@ static int vf_reconfig_wrapper(struct vf_instance *vf,
r = 0;
}
- if (!mp_image_params_equals(&vf->fmt_in, p))
+ if (!mp_image_params_equal(&vf->fmt_in, p))
r = -2;
if (!mp_image_params_valid(&vf->fmt_out))