mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 16:16:33 +01:00
FFmpeg: Replace deprecated av_close_input_file by avformat_close_input.
This commit is contained in:
@@ -862,7 +862,7 @@ FFmpegImportFileHandle::~FFmpegImportFileHandle()
|
||||
#endif
|
||||
if (FFmpegLibsInst->ValidLibsLoaded())
|
||||
{
|
||||
if (mFormatContext) av_close_input_file(mFormatContext);
|
||||
if (mFormatContext) avformat_close_input(&mFormatContext);
|
||||
av_log_set_callback(av_log_default_callback);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user