diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-27 19:53:21 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-02-29 07:25:00 +0100 |
commit | 4f07f8196c23cf49cc074eef65ab50134085018f (patch) | |
tree | eec0e3c825eb142feaeb37a4905375550f901ba9 /libavcodec/avcodec.h | |
parent | e0f68413ddd06a0290b812599e3af98a90fd5ca1 (diff) | |
download | ffmpeg-4f07f8196c23cf49cc074eef65ab50134085018f.tar.gz |
lavc: deprecate AVCodecContext.color_table_id.
It's currently only used as temporary storage by the mov demuxer. Make
it use a local variable instead.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 01da5a6258..d8c7416be9 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1684,13 +1684,15 @@ typedef struct AVCodecContext { */ int inter_quant_bias; +#if FF_API_COLOR_TABLE_ID /** * color table ID * - encoding: unused * - decoding: Which clrtable should be used for 8bit RGB images. * Tables have to be stored somewhere. FIXME */ - int color_table_id; + attribute_deprecated int color_table_id; +#endif /** * slice flags |