aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-09-30 18:16:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-09-30 18:16:38 +0000
commit18239edfa99877c3c82b062f9ba26fd8a80bd330 (patch)
treede8984432a224b2ac6e1addd48ec35483d353f57 /libavcodec/avcodec.h
parentb8a2e12005a83e85e843824633ac5895baad0573 (diff)
downloadffmpeg-18239edfa99877c3c82b062f9ba26fd8a80bd330.tar.gz
marking AVPaletteControl as deprecated due to thread saftey amongth other issues (it doesnt work if theres any delay between demuxer and decoder)
Originally committed as revision 6397 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index de0d544a2f..766a63ba19 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -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;