ffmpeg: fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
422418b664
commit
23b365f1c4
1
ffmpeg.c
1
ffmpeg.c
@ -1499,6 +1499,7 @@ void av_noreturn exit_program(int ret)
|
|||||||
output_streams[i]->bitstream_filters = NULL;
|
output_streams[i]->bitstream_filters = NULL;
|
||||||
|
|
||||||
av_freep(&output_streams[i]->filtered_frame);
|
av_freep(&output_streams[i]->filtered_frame);
|
||||||
|
av_freep(&output_streams[i]->avfilter);
|
||||||
av_freep(&output_streams[i]);
|
av_freep(&output_streams[i]);
|
||||||
}
|
}
|
||||||
for (i = 0; i < nb_input_files; i++) {
|
for (i = 0; i < nb_input_files; i++) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user