diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-02-27 18:52:13 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-03-04 21:02:45 +0100 |
commit | 02beb9826b29166b5d7c9b306ac1648abb449be0 (patch) | |
tree | c94871bf0201b0ca0dd73a1a1f07961e38edeee1 /libavcodec/version.h | |
parent | 87392b1fd5c59004b8e559463b47836e418d1d27 (diff) | |
download | ffmpeg-02beb9826b29166b5d7c9b306ac1648abb449be0.tar.gz |
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.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |