summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-01-22 10:56:42 +0100
committerAnton Khirnov <anton@khirnov.net>2012-01-27 10:38:34 +0100
commit9a79bb552a518f26bec1b5306a03b76076bcf8eb (patch)
tree4c7951416819463771d127f44ef4037c74645a0e /libavcodec/utils.c
parent7831a7e4ec2c4e247095ec4167b90411bc5166e1 (diff)
lavc: remove disabled FF_API_THREAD_INIT cruft.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index bcdb71a474..7f8009d7f9 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -1810,14 +1810,6 @@ void ff_thread_await_progress(AVFrame *f, int progress, int field)
#endif
-#if FF_API_THREAD_INIT
-int avcodec_thread_init(AVCodecContext *s, int thread_count)
-{
- s->thread_count = thread_count;
- return ff_thread_init(s);
-}
-#endif
-
enum AVMediaType avcodec_get_type(enum CodecID codec_id)
{
if (codec_id <= CODEC_ID_NONE)