From e409f035758dbd6473aa8ad7573f682b1d9cf6b7 Mon Sep 17 00:00:00 2001 From: Dan Dennedy Date: Tue, 4 Aug 2009 02:54:11 +0000 Subject: [PATCH] This cast needed by upcoming MLT commit. svn path=/trunk/kdenlive/; revision=3799 --- src/kthumb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kthumb.cpp b/src/kthumb.cpp index 1ffdb231..faff1ab8 100644 --- a/src/kthumb.cpp +++ b/src/kthumb.cpp @@ -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( mlt_frame->get_audio(m_audioFormat, m_frequency, m_channels, m_samples)); for (int c = 0; c < m_channels; c++) { QByteArray m_array; -- 2.39.5