Commit 68519072 authored by rtognimp's avatar rtognimp

Fix some palette related defines, bump build number


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2464 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent bc01628e
...@@ -16,7 +16,7 @@ extern "C" { ...@@ -16,7 +16,7 @@ extern "C" {
#define FFMPEG_VERSION_INT 0x000408 #define FFMPEG_VERSION_INT 0x000408
#define FFMPEG_VERSION "0.4.8" #define FFMPEG_VERSION "0.4.8"
#define LIBAVCODEC_BUILD 4688 #define LIBAVCODEC_BUILD 4689
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION FFMPEG_VERSION #define LIBAVCODEC_VERSION FFMPEG_VERSION
...@@ -1439,7 +1439,8 @@ typedef struct AVPicture { ...@@ -1439,7 +1439,8 @@ typedef struct AVPicture {
* This structure defines a method for communicating palette changes * This structure defines a method for communicating palette changes
* between and demuxer and a decoder. * between and demuxer and a decoder.
*/ */
#define AVPALETTE_SIZE 256 #define AVPALETTE_SIZE 1024
#define AVPALETT_COUNT 256
typedef struct AVPaletteControl { typedef struct AVPaletteControl {
/* demuxer sets this to 1 to indicate the palette has changed; /* demuxer sets this to 1 to indicate the palette has changed;
...@@ -1450,7 +1451,7 @@ typedef struct AVPaletteControl { ...@@ -1450,7 +1451,7 @@ typedef struct AVPaletteControl {
* the individual palette components should be on a 8-bit scale; if * the individual palette components should be on a 8-bit scale; if
* the palette data comes from a IBM VGA native format, the component * the palette data comes from a IBM VGA native format, the component
* data is probably 6 bits in size and needs to be scaled */ * data is probably 6 bits in size and needs to be scaled */
unsigned int palette[AVPALETTE_SIZE]; unsigned int palette[AVPALETTE_COUNT];
} AVPaletteControl; } AVPaletteControl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment