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:
Anton Khirnov
2023-07-08 10:22:13 +02:00
parent d55262704e
commit bff48e8d69
3 changed files with 3 additions and 4 deletions

View File

@@ -917,7 +917,7 @@ static void fc_close(AVFormatContext **pfc)
*pfc = NULL;
}
void of_close(OutputFile **pof)
void of_free(OutputFile **pof)
{
OutputFile *of = *pof;
Muxer *mux;