summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-25 19:37:16 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:03 -0300
commite8fdb0db16c5ca8ad382b20874b4a454be6b79ae (patch)
treeca6c99f02a179646053196cca0b1fd0f5242ab23 /libavcodec/avcodec.c
parentd1d8a818742f2429b544d38446a3510d8a23be94 (diff)
avcodec: Remove lock manager API
Deprecated in a04c2c707de2ce850f79870e84ac9d7ec7aa9143. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.c')
-rw-r--r--libavcodec/avcodec.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c
index 24f6922d4f..01fe8a6d97 100644
--- a/libavcodec/avcodec.c
+++ b/libavcodec/avcodec.c
@@ -102,13 +102,6 @@ static void unlock_avcodec(const AVCodec *codec)
ff_mutex_unlock(&codec_mutex);
}
-#if FF_API_LOCKMGR
-int av_lockmgr_register(int (*cb)(void **mutex, enum AVLockOp op))
-{
- return 0;
-}
-#endif
-
static int64_t get_bit_rate(AVCodecContext *ctx)
{
int64_t bit_rate;