]> git.sesse.net Git - kdenlive/commitdiff
This cast needed by upcoming MLT commit.
authorDan Dennedy <dan@dennedy.org>
Tue, 4 Aug 2009 02:54:11 +0000 (02:54 +0000)
committerDan Dennedy <dan@dennedy.org>
Tue, 4 Aug 2009 02:54:11 +0000 (02:54 +0000)
svn path=/trunk/kdenlive/; revision=3799

src/kthumb.cpp

index 1ffdb231a79cd0d1fbd1abf6305478351affec95..faff1ab8fe1206d814c5d9502267b0c8dda14b72 100644 (file)
@@ -92,7 +92,7 @@ void MyThread::run()
             int m_samples = mlt_sample_calculator(m_framesPerSecond, m_frequency, mlt_frame_get_position(mlt_frame->get_frame()));
             mlt_audio_format m_audioFormat = mlt_audio_pcm;
 
-            qint16* m_pcm = mlt_frame->get_audio(m_audioFormat, m_frequency, m_channels, m_samples);
+                       qint16* m_pcm = static_cast<qint16*>( mlt_frame->get_audio(m_audioFormat, m_frequency, m_channels, m_samples));
 
             for (int c = 0; c < m_channels; c++) {
                 QByteArray m_array;