changeset 33331:93923796615c

Avoid "'sh' may be used uninitialized in this function" warning.
author reimar
date Sat, 07 May 2011 20:07:05 +0000
parents ad12e6080ed1
children 8b0d95785db2
files libmpcodecs/vf_sab.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_sab.c	Sat May 07 20:05:47 2011 +0000
+++ b/libmpcodecs/vf_sab.c	Sat May 07 20:07:05 2011 +0000
@@ -66,6 +66,8 @@
 //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;