[Ffmpeg-cvslog] r6397 - trunk/libavcodec/avcodec.h
michael
subversion
Sat Sep 30 20:16:38 CEST 2006
Author: michael
Date: Sat Sep 30 20:16:38 2006
New Revision: 6397
Modified:
trunk/libavcodec/avcodec.h
Log:
marking AVPaletteControl as deprecated due to thread saftey amongth other issues (it doesnt work if theres any delay between demuxer and decoder)
Modified: trunk/libavcodec/avcodec.h
==============================================================================
--- trunk/libavcodec/avcodec.h (original)
+++ trunk/libavcodec/avcodec.h Sat Sep 30 20:16:38 2006
@@ -2086,6 +2086,7 @@
* 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 @@
* 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;
More information about the ffmpeg-cvslog
mailing list