1
0
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:
benjamin.drung@gmail.com
2014-05-29 15:50:47 +00:00
parent 0a5ed743b8
commit 33b9e9336f
4 changed files with 7 additions and 7 deletions

View File

@@ -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);
}