yuv2rgb: remove assert() the codepath is not invalid
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Jun 2012 15:45:16 +0000 (17:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 7 Jun 2012 16:01:09 +0000 (18:01 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/yuv2rgb.c

index 446b433..021a38f 100644 (file)
@@ -26,7 +26,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
-#include <assert.h>
 
 #include "libavutil/cpu.h"
 #include "libavutil/bswap.h"
@@ -587,8 +586,6 @@ SwsFunc ff_yuv2rgb_get_func_ptr(SwsContext *c)
         return yuv2rgb_c_4b_ordered_dither;
     case PIX_FMT_MONOBLACK:
         return yuv2rgb_c_1_ordered_dither;
-    default:
-        assert(0);
     }
     return NULL;
 }