diff options
author | Jan Holthuis <jholthuis@mixxx.org> | 2021-07-20 23:38:40 +0200 |
---|---|---|
committer | Jan Holthuis <jholthuis@mixxx.org> | 2021-07-20 23:47:25 +0200 |
commit | 7b23500f929e2e2435c3af963ed05bd0138b6586 (patch) | |
tree | b9623a8ef67ad40aa7c9b14fac3866d13e567a7a /src/sources | |
parent | f48c276dbbd5c934c342a9137395bdbea082cc88 (diff) |
SoundSourceFFmpeg: Fix assignment in debug assertion
Diffstat (limited to 'src/sources')
-rw-r--r-- | src/sources/soundsourceffmpeg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sources/soundsourceffmpeg.cpp b/src/sources/soundsourceffmpeg.cpp index 4729191764..70319ce1cd 100644 --- a/src/sources/soundsourceffmpeg.cpp +++ b/src/sources/soundsourceffmpeg.cpp @@ -968,9 +968,9 @@ const CSAMPLE* SoundSourceFFmpeg::resampleDecodedAVFrame() { #if VERBOSE_DEBUG_LOG avTrace("Received resampled frame", *m_pavResampledFrame); #endif - DEBUG_ASSERT(m_pavDecodedFrame->pts = m_pavResampledFrame->pts); - DEBUG_ASSERT(m_pavDecodedFrame->nb_samples = - m_pavResampledFrame->nb_samples); + DEBUG_ASSERT(m_pavDecodedFrame->pts == m_pavResampledFrame->pts); + DEBUG_ASSERT(m_pavDecodedFrame->nb_samples == + m_pavResampledFrame->nb_samples); return reinterpret_cast<const CSAMPLE*>( m_pavResampledFrame->extended_data[0]); } else { |