OSDN Git Service

Avoid dependancy on global variable verbose in libmpcodecs/vf_pullup.c
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 14 Jan 2011 03:53:41 +0000 (04:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 19 Jan 2011 23:52:26 +0000 (00:52 +0100)
libavfilter/libmpcodecs/vf_pullup.c

index a1ed978..02a2031 100644 (file)
@@ -293,7 +293,7 @@ static int vf_open(vf_instance_t *vf, char *args)
     vf->priv = p = calloc(1, sizeof(struct vf_priv_s));
     p->ctx = c = pullup_alloc_context();
     p->fakecount = 1;
-    c->verbose = verbose>0;
+    c->verbose = 1;
     c->junk_left = c->junk_right = 1;
     c->junk_top = c->junk_bottom = 4;
     c->strict_breaks = 0;