ffmpeg: fix memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-06-01 12:31:13 +02:00
parent 422418b664
commit 23b365f1c4

View File

@ -1499,6 +1499,7 @@ void av_noreturn exit_program(int ret)
output_streams[i]->bitstream_filters = NULL;
av_freep(&output_streams[i]->filtered_frame);
av_freep(&output_streams[i]->avfilter);
av_freep(&output_streams[i]);
}
for (i = 0; i < nb_input_files; i++) {