summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorRoberto Togni <r_togni@tiscali.it>2003-11-02 21:53:28 +0000
committerRoberto Togni <r_togni@tiscali.it>2003-11-02 21:53:28 +0000
commit2e99641b1a366142e71f6816c1e7fcfeba8eca7b (patch)
tree6e5b1a887b7ccf912acffd6b795645192e592d15 /libavcodec/avcodec.h
parent2cbb7820c98cbf86e219075545c9bfc92777b269 (diff)
Fix some palette related defines, bump build number
Originally committed as revision 2464 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 90b20f425d..448ac1623b 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -16,7 +16,7 @@ extern "C" {
#define FFMPEG_VERSION_INT 0x000408
#define FFMPEG_VERSION "0.4.8"
-#define LIBAVCODEC_BUILD 4688
+#define LIBAVCODEC_BUILD 4689
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION FFMPEG_VERSION
@@ -1439,7 +1439,8 @@ typedef struct AVPicture {
* This structure defines a method for communicating palette changes
* between and demuxer and a decoder.
*/
-#define AVPALETTE_SIZE 256
+#define AVPALETTE_SIZE 1024
+#define AVPALETT_COUNT 256
typedef struct AVPaletteControl {
/* demuxer sets this to 1 to indicate the palette has changed;
@@ -1450,7 +1451,7 @@ typedef struct AVPaletteControl {
* the individual palette components should be on a 8-bit scale; if
* the palette data comes from a IBM VGA native format, the component
* data is probably 6 bits in size and needs to be scaled */
- unsigned int palette[AVPALETTE_SIZE];
+ unsigned int palette[AVPALETTE_COUNT];
} AVPaletteControl;