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>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user