1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

Merge commit 'fce68c93554803801c32c1b20509bfa8d496b02a'

* commit 'fce68c93554803801c32c1b20509bfa8d496b02a':
  pthread: unref the decoded but not returned frames on close.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2013-03-13 13:39:01 +01:00

View File

@@ -779,6 +779,7 @@ static void frame_thread_free(AVCodecContext *avctx, int thread_count)
avctx->codec = NULL; avctx->codec = NULL;
release_delayed_buffers(p); release_delayed_buffers(p);
av_frame_unref(&p->frame);
} }
for (i = 0; i < thread_count; i++) { for (i = 0; i < thread_count; i++) {