lavc: undeprecate AVPALETTE_SIZE and AVPALETTE_COUNT macros
authorAnton Khirnov <anton@khirnov.net>
Thu, 1 Sep 2011 14:40:18 +0000 (16:40 +0200)
committerAnton Khirnov <anton@khirnov.net>
Wed, 21 Sep 2011 11:51:53 +0000 (13:51 +0200)
They are still being used and shouldn't be removed.

libavcodec/avcodec.h

index 7fc0e54..a7defa0 100644 (file)
@@ -3082,6 +3082,8 @@ typedef struct AVPicture {
     int linesize[4];       ///< number of bytes per line
 } AVPicture;
 
+#define AVPALETTE_SIZE 1024
+#define AVPALETTE_COUNT 256
 #if FF_API_PALETTE_CONTROL
 /**
  * AVPaletteControl
@@ -3091,8 +3093,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;