mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 22:21:11 +02:00
Bug1692: shouldn't crash when FFmpeg libraries absent
This commit is contained in:
@@ -847,7 +847,8 @@ void FFmpegImportFileHandle::GetMetadata(Tags *tags, const wxChar *tag, const ch
|
|||||||
|
|
||||||
FFmpegImportFileHandle::~FFmpegImportFileHandle()
|
FFmpegImportFileHandle::~FFmpegImportFileHandle()
|
||||||
{
|
{
|
||||||
av_log_set_callback(av_log_default_callback);
|
if (FFmpegLibsInst()->ValidLibsLoaded())
|
||||||
|
av_log_set_callback(av_log_default_callback);
|
||||||
|
|
||||||
// Do this before unloading the libraries
|
// Do this before unloading the libraries
|
||||||
mContext.reset();
|
mContext.reset();
|
||||||
|
Reference in New Issue
Block a user