mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 08:06:32 +01:00
Add support for libav 9.
This commit is contained in:
@@ -369,7 +369,11 @@ bool FFmpegImportFileHandle::Init()
|
||||
return false;
|
||||
}
|
||||
|
||||
#if !defined(DISABLE_DYNAMIC_LOADING_FFMPEG) || (LIBAVFORMAT_VERSION_INT < AV_VERSION_INT(53, 3, 0))
|
||||
err = av_find_stream_info(mFormatContext);
|
||||
#else
|
||||
err = avformat_find_stream_info(mFormatContext, NULL);
|
||||
#endif
|
||||
if (err < 0)
|
||||
{
|
||||
wxLogError(wxT("FFmpeg : av_find_stream_info() failed for file %s"),mName.c_str());
|
||||
|
||||
Reference in New Issue
Block a user