[MPlayer-cvslog] r33418 - trunk/libmpcodecs/vf_sab.c

reimar subversion at mplayerhq.hu
Sat May 7 22:07:06 CEST 2011


Author: reimar
Date: Sat May  7 22:07:05 2011
New Revision: 33418

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

Modified:
   trunk/libmpcodecs/vf_sab.c

Modified: trunk/libmpcodecs/vf_sab.c
==============================================================================
--- trunk/libmpcodecs/vf_sab.c	Sat May  7 22:05:47 2011	(r33417)
+++ trunk/libmpcodecs/vf_sab.c	Sat May  7 22:07:05 2011	(r33418)
@@ -66,6 +66,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