From 414456fa06e5427f8cc2121670e5113edcd3e384 Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Wed, 21 Aug 2013 23:19:19 +0000 Subject: [PATCH] bug 469 --- src/FFmpeg.h | 2 +- src/export/ExportFFmpeg.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;