# HG changeset patch # User reimar # Date 1304799001 0 # Node ID 8b0d95785db258fb05491ee725e9cf10fbaaafbe # Parent 93923796615c0edf599e00f4f602c210bc23a828 Avoid "'sh' may be used uninitialized in this function" warning. diff -r 93923796615c -r 8b0d95785db2 libmpcodecs/vf_smartblur.c --- 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;