summaryrefslogtreecommitdiff
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-12 23:57:38 -0300
committerJames Almer <jamrial@gmail.com>2017-11-15 01:14:22 -0300
commitc4131a0613c4b2c30c01b2550b41068815d27799 (patch)
tree04cab36e67e74d28b6fd83782897aa5392132085 /libavcodec/version.h
parent912ceba61b0d45caa8ba8664ddf7b18e2121ddf3 (diff)
avcodec: deprecate getters and setters for AVCodecContext and AVCodec fields
The fields can be accessed directly, so these are not needed anymore. Signed-off-by: James Almer <jamrial@gmail.com>
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 88500e343f..a75c885768 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -120,6 +120,9 @@
#ifndef FF_API_GETCHROMA
#define FF_API_GETCHROMA (LIBAVCODEC_VERSION_MAJOR < 59)
#endif
+#ifndef FF_API_CODEC_GET_SET
+#define FF_API_CODEC_GET_SET (LIBAVCODEC_VERSION_MAJOR < 59)
+#endif
#endif /* AVCODEC_VERSION_H */