Commit fcee9572 authored by benoit's avatar benoit

free thread context

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9508 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 20208bf1
......@@ -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