mirror of https://git.ffmpeg.org/ffmpeg.git
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:
commit
8ded1718bd
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue