From 9d367cb0f9780a9d53f410dd11a23ca4cfec5e2f Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 1 Dec 2017 22:03:38 +0100 Subject: vd_lavc, mp_image: remove weird mpv specific palette constant Was for times when we were trying to be less dependent on libav* I guess. --- video/decode/vd_lavc.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'video/decode') diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 3c24c7e246..b0b3cd9208 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -52,10 +52,6 @@ #include "video/sws_utils.h" #include "video/out/vo.h" -#if AVPALETTE_SIZE != MP_PALETTE_SIZE -#error palette too large, adapt video/mp_image.h:MP_PALETTE_SIZE -#endif - #include "options/m_option.h" static void init_avctx(struct dec_video *vd); -- cgit v1.2.3