mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32: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:
commit
8ded1718bd
@ -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++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user