summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-01-09 11:09:09 -0300
committerAnton Khirnov <anton@khirnov.net>2023-02-09 15:24:16 +0100
commit10c9a0874cb361336237557391d306d26d43f137 (patch)
tree585c99be16ad5677b588447e726aaef8306fb035
parent63258b6f7cc5275a35fa7896321327959309c3da (diff)
downloadffmpeg-10c9a0874cb361336237557391d306d26d43f137.tar.gz
avcodec: remove FF_API_AUTO_THREADS
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/codec.h3
-rw-r--r--libavcodec/version_major.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/codec.h b/libavcodec/codec.h
index 336a785e18..e1ebb0943e 100644
--- a/libavcodec/codec.h
+++ b/libavcodec/codec.h
@@ -125,9 +125,6 @@
* multithreading-capable external libraries.
*/
#define AV_CODEC_CAP_OTHER_THREADS (1 << 15)
-#if FF_API_AUTO_THREADS
-#define AV_CODEC_CAP_AUTO_THREADS AV_CODEC_CAP_OTHER_THREADS
-#endif
/**
* Audio encoder supports receiving a different number of samples in each call.
*/
diff --git a/libavcodec/version_major.h b/libavcodec/version_major.h
index d65fe867df..84560bcaba 100644
--- a/libavcodec/version_major.h
+++ b/libavcodec/version_major.h
@@ -37,7 +37,6 @@
* at once through the bump. This improves the git bisect-ability of the change.
*/
-#define FF_API_AUTO_THREADS (LIBAVCODEC_VERSION_MAJOR < 60)
#define FF_API_INIT_PACKET (LIBAVCODEC_VERSION_MAJOR < 60)
#define FF_API_AVCTX_TIMEBASE (LIBAVCODEC_VERSION_MAJOR < 60)
#define FF_API_FLAG_TRUNCATED (LIBAVCODEC_VERSION_MAJOR < 60)