changeset 33332:8b0d95785db2

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