summaryrefslogtreecommitdiff
path: root/libswscale/yuv2rgb.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-07 17:45:16 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-07 18:01:09 +0200
commit23d8aaae46df36eb3f11463432d71d9fc1d2ec9e (patch)
tree940bbb087fde7412464b8c6956500362cbc28175 /libswscale/yuv2rgb.c
parent5ee638fd549f134eb697ce6afc519506e7b81f58 (diff)
yuv2rgb: remove assert() the codepath is not invalid
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale/yuv2rgb.c')
-rw-r--r--libswscale/yuv2rgb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libswscale/yuv2rgb.c b/libswscale/yuv2rgb.c
index 446b433b3f..021a38f414 100644
--- a/libswscale/yuv2rgb.c
+++ b/libswscale/yuv2rgb.c
@@ -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;
}