[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/pim/kcall/applet/audio
From: Dirk Mueller <mueller () kde ! org>
Date: 2006-11-24 16:16:49
Message-ID: 1164385009.453520.26195.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 607426 by mueller:
stop crashing. no idea what this is actually supposed to do
M +2 -1 dspaudio.cpp
--- trunk/playground/pim/kcall/applet/audio/dspaudio.cpp #607425:607426
@@ -100,5 +100,6 @@
void DspAudio::setCodec( const codecType newCodec, int newCodecNum )
{
- ((DspOutRtp *)input)->setCodec( newCodec, newCodecNum );
+ if (dynamic_cast<DspOutRtp*>(input))
+ static_cast<DspOutRtp*>(input)->setCodec( newCodec, newCodecNum );
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic