[MPlayer-cvslog] r25795 - trunk/libmpcodecs/vf_detc.c

reimar subversion at mplayerhq.hu
Sat Jan 19 12:44:49 CET 2008


Author: reimar
Date: Sat Jan 19 12:44:49 2008
New Revision: 25795

Log:
Avoid warning:
vf_detc.c:273: warning: ‘dropflag’ may be used uninitialized in this function


Modified:
   trunk/libmpcodecs/vf_detc.c

Modified: trunk/libmpcodecs/vf_detc.c
==============================================================================
--- trunk/libmpcodecs/vf_detc.c	(original)
+++ trunk/libmpcodecs/vf_detc.c	Sat Jan 19 12:44:49 2008
@@ -273,7 +273,7 @@ static int do_put_image(struct vf_instan
 	int dropflag;
 
 	switch (p->drop) {
-	case 0:
+	default:
 		dropflag = 0;
 		break;
 	case 1:



More information about the MPlayer-cvslog mailing list