mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-28 03:13:08 +08:00
fftools/ffmpeg_mux: rename of_close() to of_free()
This function is primarily a destructor for OutputFile, the underlying AVIOContext is normally closed earlier (right after writing the trailer).
This commit is contained in:
@@ -362,9 +362,8 @@ static void ffmpeg_cleanup(int ret)
|
||||
fg_free(&filtergraphs[i]);
|
||||
av_freep(&filtergraphs);
|
||||
|
||||
/* close files */
|
||||
for (i = 0; i < nb_output_files; i++)
|
||||
of_close(&output_files[i]);
|
||||
of_free(&output_files[i]);
|
||||
|
||||
for (i = 0; i < nb_input_files; i++)
|
||||
ifile_close(&input_files[i]);
|
||||
|
||||
Reference in New Issue
Block a user