From 02beb9826b29166b5d7c9b306ac1648abb449be0 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 27 Feb 2012 18:52:13 +0100 Subject: lavc: deprecate AVCodecContext.sub_id. In most places where it's used, it's as a pointless write-only field. Only rv10 decoder actually reads from it, but it stores some internal version info in it. There is no reason for it to be in a public field. --- libavcodec/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/version.h') diff --git a/libavcodec/version.h b/libavcodec/version.h index f3b40ca511..6fbe01c3a8 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -59,5 +59,8 @@ #ifndef FF_API_INTER_THRESHOLD #define FF_API_INTER_THRESHOLD (LIBAVCODEC_VERSION_MAJOR < 55) #endif +#ifndef FF_API_SUB_ID +#define FF_API_SUB_ID (LIBAVCODEC_VERSION_MAJOR < 55) +#endif #endif /* AVCODEC_VERSION_H */ -- cgit v1.2.3