diff --git a/src/FFmpeg.h b/src/FFmpeg.h index b06cad0a0..3c0fc3319 100644 --- a/src/FFmpeg.h +++ b/src/FFmpeg.h @@ -150,7 +150,7 @@ to download or locate the FFmpeg libraries." return; } - void OnOk(wxCommandEvent & event) + void OnOk(wxCommandEvent & WXUNUSED(event)) { if (mDontShow->GetValue()) { diff --git a/src/export/ExportFFmpeg.cpp b/src/export/ExportFFmpeg.cpp index 76b284564..83b03c725 100644 --- a/src/export/ExportFFmpeg.cpp +++ b/src/export/ExportFFmpeg.cpp @@ -246,7 +246,7 @@ void ExportFFmpeg::Destroy() delete this; } -bool ExportFFmpeg::CheckFileName(wxFileName &filename, int format) +bool ExportFFmpeg::CheckFileName(wxFileName & WXUNUSED(filename), int WXUNUSED(format)) { bool result = true; if (!CheckFFmpegPresence()) @@ -545,7 +545,7 @@ bool ExportFFmpeg::Finalize() if ((codec->capabilities & CODEC_CAP_SMALL_LAST_FRAME) || codec->id == CODEC_ID_FLAC || mEncAudioCodecCtx->frame_size == 1 - || gPrefs->Read(wxT("/FileFormats/OverrideSmallLastFrame"),(long)1) + || gPrefs->Read(wxT("/FileFormats/OverrideSmallLastFrame"), true) ) { int nFrameSizeTmp = mEncAudioCodecCtx->frame_size;