aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-25 12:03:44 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-26 17:05:58 +0100
commit9e30859cb60b915f237581e3ce91b0d31592edc0 (patch)
tree273bc816c6712a7a32a16b4354d5880412ea2575 /libavcodec/version.h
parent25f4304ebbf96c7ae2952d72b04ad244f8d96334 (diff)
downloadffmpeg-9e30859cb60b915f237581e3ce91b0d31592edc0.tar.gz
lavc: shedule old encoding/decoding API for removal
It has been deprecated for 4 years and certain new codecs do not work with it. Also include AVCodecContext.refcounted_frames, as it has no effect with the new API.
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 866932cb84..1e1bedfce6 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -144,6 +144,9 @@
#ifndef FF_API_AVPRIV_PUT_BITS
#define FF_API_AVPRIV_PUT_BITS (LIBAVCODEC_VERSION_MAJOR < 59)
#endif
+#ifndef FF_API_OLD_ENCDEC
+#define FF_API_OLD_ENCDEC (LIBAVCODEC_VERSION_MAJOR < 59)
+#endif
#ifndef FF_API_THREAD_SAFE_CALLBACKS
#define FF_API_THREAD_SAFE_CALLBACKS (LIBAVCODEC_VERSION_MAJOR < 60)
#endif