summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-05-11 17:30:53 +0200
committerAnton Khirnov <anton@khirnov.net>2013-05-17 07:44:40 +0200
commit30e256430eb88c6d4c382581b89bca171d79fbc0 (patch)
treef6fc9e8c992bcf08565b91e0c5613f832d660295 /libavcodec/utils.c
parent16a645adeb758207346a4bbf66766f02734c461e (diff)
lavc/pthread: remove obsolete checks
Those were useful when avcodec_thread_init() was a public functions. It was deprecated and removed some time ago, so those checks are not needed anymore.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index c54af670e4..8a19393a26 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -963,7 +963,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code
avctx->time_base.den = avctx->sample_rate;
}
- if (HAVE_THREADS && !avctx->thread_opaque) {
+ if (HAVE_THREADS) {
ret = ff_thread_init(avctx);
if (ret < 0) {
goto free_and_end;