Commit ab2cfc59 authored by Janne Grunau's avatar Janne Grunau Committed by Benoit Fouet

free thread context

patch by Janne Grunau: [janne-ffmpeg grunau be]

Originally committed as revision 9508 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 54166165
......@@ -991,6 +991,8 @@ int avcodec_close(AVCodecContext *avctx)
return -1;
}
if (ENABLE_THREADS && avctx->thread_opaque)
avcodec_thread_free(avctx);
if (avctx->codec->close)
avctx->codec->close(avctx);
avcodec_default_free_buffers(avctx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment