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
vformat/utils: call flush_packet_queue() from avformat_free_context()
This avoids some theoretical memleaks Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Michael Niedermayer
10 years ago
parent
609d5db803
commit
9c712d0b16
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/utils.c
+ 1
- 1
libavformat/utils.c
View File
@@ -3525,7 +3525,7 @@ void avformat_free_context(AVFormatContext *s)
av_dict_free(&s->metadata);
av_dict_free(&s->metadata);
av_freep(&s->streams);
av_freep(&s->streams);
av_freep(&s->internal);
av_freep(&s->internal);
f
ree_packet_buffer(&s->packet_buffer, &s->packet_buffer_end
);
f
lush_packet_queue(s
);
av_free(s);
av_free(s);
}
}
Write
Preview
Loading…
Cancel
Save