Commit 23d8aaae authored by Michael Niedermayer's avatar Michael Niedermayer

yuv2rgb: remove assert() the codepath is not invalid

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5ee638fd
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment