aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-11-04 11:14:38 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-11-04 11:14:38 +0100
commit3fc26d8073a49c96a0704015ce18f5317d87a739 (patch)
tree54e7c6782281bf070c91faf63371a1980e92da38 /libavcodec/utils.c
parent2a7cbc29a8aa0db2bcee95123a83c13d02f0f753 (diff)
parent38ecc3702dabbea09230f6d6333f59e74f5d1c12 (diff)
downloadffmpeg-3fc26d8073a49c96a0704015ce18f5317d87a739.tar.gz
Merge commit '38ecc3702dabbea09230f6d6333f59e74f5d1c12'
* commit '38ecc3702dabbea09230f6d6333f59e74f5d1c12': pthread: store thread contexts in AVCodecInternal instead of AVCodecContext Conflicts: libavcodec/internal.h libavcodec/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 97ab615d90..92374f4888 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -2558,7 +2558,7 @@ av_cold int avcodec_close(AVCodecContext *avctx)
ff_frame_thread_encoder_free(avctx);
ff_lock_avcodec(avctx);
}
- if (HAVE_THREADS && avctx->thread_opaque)
+ if (HAVE_THREADS && avctx->internal->thread_ctx)
ff_thread_free(avctx);
if (avctx->codec && avctx->codec->close)
avctx->codec->close(avctx);