summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/vd.c')
-rw-r--r--libmpcodecs/vd.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c
index 511665aeac..3bfc17c895 100644
--- a/libmpcodecs/vd.c
+++ b/libmpcodecs/vd.c
@@ -51,9 +51,9 @@ const vd_functions_t * const mpcodecs_vd_drivers[] = {
NULL
};
-int mpcodecs_config_vo2(sh_video_t *sh, int w, int h,
- const unsigned int *outfmts,
- unsigned int preferred_outfmt)
+int mpcodecs_config_vo(sh_video_t *sh, int w, int h,
+ const unsigned int *outfmts,
+ unsigned int preferred_outfmt)
{
struct MPOpts *opts = sh->opts;
int j;
@@ -92,9 +92,8 @@ int mpcodecs_config_vo2(sh_video_t *sh, int w, int h,
csp_again:
if (mp_msg_test(MSGT_DECVIDEO, MSGL_V)) {
- vf_instance_t *f = vf;
mp_msg(MSGT_DECVIDEO, MSGL_V, "Trying filter chain:");
- for (f = vf; f; f = f->next)
+ for (vf_instance_t *f = vf; f; f = f->next)
mp_msg(MSGT_DECVIDEO, MSGL_V, " %s", f->info->name);
mp_msg(MSGT_DECVIDEO, MSGL_V, "\n");
}