Commit 4d463614 authored by Michael Niedermayer's avatar Michael Niedermayer

Avoid dependancy on global variable verbose in libmpcodecs/vf_pullup.c

parent 45c889a3
...@@ -293,7 +293,7 @@ static int vf_open(vf_instance_t *vf, char *args) ...@@ -293,7 +293,7 @@ static int vf_open(vf_instance_t *vf, char *args)
vf->priv = p = calloc(1, sizeof(struct vf_priv_s)); vf->priv = p = calloc(1, sizeof(struct vf_priv_s));
p->ctx = c = pullup_alloc_context(); p->ctx = c = pullup_alloc_context();
p->fakecount = 1; p->fakecount = 1;
c->verbose = verbose>0; c->verbose = 1;
c->junk_left = c->junk_right = 1; c->junk_left = c->junk_right = 1;
c->junk_top = c->junk_bottom = 4; c->junk_top = c->junk_bottom = 4;
c->strict_breaks = 0; c->strict_breaks = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment