From 4f07f8196c23cf49cc074eef65ab50134085018f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 27 Feb 2012 19:53:21 +0100 Subject: 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. --- libavcodec/avcodec.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/avcodec.h') 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 -- cgit v1.2.3