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/filter/vf.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'video/filter') 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)) -- cgit v1.2.3