Merge commit '38ecc3702d
'
* commit '38ecc3702d
':
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:
commit
3fc26d8073
7 changed files with 44 additions and 39 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue