[MPlayer-cvslog] r33419 - trunk/libmpcodecs/vf_smartblur.c

reimar subversion at mplayerhq.hu
Sat May 7 22:10:01 CEST 2011


Author: reimar
Date: Sat May  7 22:10:01 2011
New Revision: 33419

Log:
Avoid "'sh' may be used uninitialized in this function" warning.

Modified:
   trunk/libmpcodecs/vf_smartblur.c

Modified: trunk/libmpcodecs/vf_smartblur.c
==============================================================================
--- trunk/libmpcodecs/vf_smartblur.c	Sat May  7 22:07:05 2011	(r33418)
+++ trunk/libmpcodecs/vf_smartblur.c	Sat May  7 22:10:01 2011	(r33419)
@@ -53,6 +53,8 @@ struct vf_priv_s {
 //FIXME stupid code duplication
 static void getSubSampleFactors(int *h, int *v, int format){
     switch(format){
+    default:
+        assert(0);
     case IMGFMT_YV12:
     case IMGFMT_I420:
         *h=1;


More information about the MPlayer-cvslog mailing list