From f2ee0656389a6f9db348ce59c4fbb3c58dd648af Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Tue, 10 Apr 2012 16:34:16 +0200 Subject: lavu/pixfmt: move AVPALETTE_SIZE and _COUNT to pixfmt.h Move AVPALETTE_SIZE and AVPALETTE_COUNT definition from libavcodec/avcodec.h to libavutil/pixfmt.h. The definition is more useful in libavutil, where it can be shared for example by libavfilter and libswscale. --- libavutil/pixfmt.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavutil/pixfmt.h') diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 1e81a2ae37..820cd3f190 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -29,6 +29,9 @@ #include "libavutil/avconfig.h" +#define AVPALETTE_SIZE 1024 +#define AVPALETTE_COUNT 256 + /** * Pixel format. * -- cgit v1.2.3