Commit 8ded1718 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'fce68c93'

* commit 'fce68c93':
  pthread: unref the decoded but not returned frames on close.
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 8bcebf9e fce68c93
......@@ -779,6 +779,7 @@ static void frame_thread_free(AVCodecContext *avctx, int thread_count)
avctx->codec = NULL;
release_delayed_buffers(p);
av_frame_unref(&p->frame);
}
for (i = 0; i < thread_count; i++) {
......
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