free thread context
patch by Janne Grunau: [janne-ffmpeg grunau be] Originally committed as revision 9508 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5416616588
commit
ab2cfc59a6
@ -991,6 +991,8 @@ int avcodec_close(AVCodecContext *avctx)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ENABLE_THREADS && avctx->thread_opaque)
|
||||||
|
avcodec_thread_free(avctx);
|
||||||
if (avctx->codec->close)
|
if (avctx->codec->close)
|
||||||
avctx->codec->close(avctx);
|
avctx->codec->close(avctx);
|
||||||
avcodec_default_free_buffers(avctx);
|
avcodec_default_free_buffers(avctx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user