aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/DccVideoWindow.cpp
diff options
context:
space:
mode:
authorGravatar Elvio Basello2011-03-30 17:50:38 +0000
committerGravatar Elvio Basello2011-03-30 17:50:38 +0000
commit21a4c690d3697816ed40655ee7f458277b5b8e8c (patch)
tree4a8896a894d4f5f9ebf93b2f21650a8c4205bc45 /src/modules/dcc/DccVideoWindow.cpp
parentfixed translation string (diff)
downloadKVIrc-21a4c690d3697816ed40655ee7f458277b5b8e8c.tar.gz
KVIrc-21a4c690d3697816ed40655ee7f458277b5b8e8c.tar.bz2
KVIrc-21a4c690d3697816ed40655ee7f458277b5b8e8c.zip
fixed compilation warnings
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5732 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/DccVideoWindow.cpp')
-rw-r--r--src/modules/dcc/DccVideoWindow.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/modules/dcc/DccVideoWindow.cpp b/src/modules/dcc/DccVideoWindow.cpp
index eb03a4ff7..166043a16 100644
--- a/src/modules/dcc/DccVideoWindow.cpp
+++ b/src/modules/dcc/DccVideoWindow.cpp
@@ -69,17 +69,21 @@ extern DccBroker * g_pDccBroker;
bool kvi_dcc_video_is_valid_codec(const char * codecName)
{
- if(kvi_strEqualCI("sjpeg",codecName))return true;
+ if(kvi_strEqualCI("sjpeg",codecName))
+ return true;
#ifndef COMPILE_DISABLE_OGG_THEORA
- if(kvi_strEqualCI("theora",codecName))return true;
+ if(kvi_strEqualCI("theora",codecName))
+ return true;
#endif
return false;
}
-static DccVideoCodec * kvi_dcc_video_get_codec(const char *codecName)
+static DccVideoCodec * kvi_dcc_video_get_codec(const char * codecName)
{
+ Q_UNUSED(codecName);
#ifndef COMPILE_DISABLE_OGG_THEORA
- if(kvi_strEqualCI("theora",codecName))return new DccVideoTheoraCodec();
+ if(kvi_strEqualCI("theora",codecName))
+ return new DccVideoTheoraCodec();
#endif
return new DccVideoSJpegCodec();
}