They are still being used and shouldn't be removed.
---
libavcodec/avcodec.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 7fc0e54..c330b45 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3091,8 +3091,6 @@ typedef struct AVPicture {
* @deprecated Use AVPacket to send palette changes instead.
* This is totally broken.
*/
-#define AVPALETTE_SIZE 1024
-#define AVPALETTE_COUNT 256
typedef struct AVPaletteControl {
/* Demuxer sets this to 1 to indicate the palette has changed;
@@ -3107,6 +3105,8 @@ typedef struct AVPaletteControl {
} AVPaletteControl attribute_deprecated;
#endif
+#define AVPALETTE_SIZE 1024
+#define AVPALETTE_COUNT 256
enum AVSubtitleType {
SUBTITLE_NONE,
--
1.7.6
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel