Commit b339bee9 authored by michael's avatar michael

marking AVPaletteControl as deprecated due to thread saftey amongth other...

marking AVPaletteControl as deprecated due to thread saftey amongth other issues (it doesnt work if theres any delay between demuxer and decoder)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6397 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f0098eab
......@@ -2086,6 +2086,7 @@ typedef struct AVPicture {
* AVPaletteControl
* This structure defines a method for communicating palette changes
* between and demuxer and a decoder.
* this is totally broken, palette changes should be sent as AVPackets
*/
#define AVPALETTE_SIZE 1024
#define AVPALETTE_COUNT 256
......@@ -2101,7 +2102,7 @@ typedef struct AVPaletteControl {
* data is probably 6 bits in size and needs to be scaled */
unsigned int palette[AVPALETTE_COUNT];
} AVPaletteControl;
} AVPaletteControl attribute_deprecated;
typedef struct AVSubtitleRect {
uint16_t x;
......
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