This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
pthread: unref the decoded but not returned frames on close.
Fixes memleaks when frame mt is used and the decoder is not flushed at the end.
tags/n2.0
Anton Khirnov
13 years ago
parent
555000c7d5
commit
fce68c9355
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
libavcodec/pthread.c
+ 1
- 0
libavcodec/pthread.c
View File
@@ -749,6 +749,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++) {
Write
Preview
Loading…
Cancel
Save