changeset 17832:7fa8bfd0dea3

10l found by Oded: case 2 on a boolean value...
author rfelker
date Sun, 12 Mar 2006 18:31:50 +0000
parents f36966ddbf77
children b3ee00937967
files libmpcodecs/vf_ivtc.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_ivtc.c	Sun Mar 12 18:13:11 2006 +0000
+++ b/libmpcodecs/vf_ivtc.c	Sun Mar 12 18:31:50 2006 +0000
@@ -426,9 +426,9 @@
 static int do_put_image(struct vf_instance_s* vf, mp_image_t *dmpi)
 {
 	struct vf_priv_s *p = vf->priv;
-	int dropflag;
+	int dropflag=0;
 
-	switch (p->drop && !p->dropnext) {
+	if (!p->dropnext) switch (p->drop) {
 	case 0:
 		dropflag = 0;
 		break;