summaryrefslogtreecommitdiffstats
path: root/video/decode
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-12-01 22:03:38 +0100
committerwm4 <wm4@nowhere>2017-12-01 22:03:38 +0100
commit9d367cb0f9780a9d53f410dd11a23ca4cfec5e2f (patch)
tree053b61c9a7d1e6aa0ae1186e5ee8a9e713ffabb7 /video/decode
parentd891239d723e6197bdbb9bae7daafe593fff34bc (diff)
downloadmpv-9d367cb0f9780a9d53f410dd11a23ca4cfec5e2f.tar.bz2
mpv-9d367cb0f9780a9d53f410dd11a23ca4cfec5e2f.tar.xz
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.
Diffstat (limited to 'video/decode')
-rw-r--r--video/decode/vd_lavc.c4
1 files changed, 0 insertions, 4 deletions
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);