summaryrefslogtreecommitdiff
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-27 19:53:21 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-29 07:25:00 +0100
commit4f07f8196c23cf49cc074eef65ab50134085018f (patch)
treeeec0e3c825eb142feaeb37a4905375550f901ba9 /libavcodec/version.h
parente0f68413ddd06a0290b812599e3af98a90fd5ca1 (diff)
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/version.h')
-rw-r--r--libavcodec/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h
index ffce89588d..618e92b3e2 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -53,5 +53,8 @@
#ifndef FF_API_MPV_GLOBAL_OPTS
#define FF_API_MPV_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 55)
#endif
+#ifndef FF_API_COLOR_TABLE_ID
+#define FF_API_COLOR_TABLE_ID (LIBAVCODEC_VERSION_MAJOR < 55)
+#endif
#endif /* AVCODEC_VERSION_H */