Skip to content

Commit

Permalink
Fix compare instead of asignment
Browse files Browse the repository at this point in the history
  • Loading branch information
daschuer committed Jul 23, 2021
1 parent 32071a4 commit 8ca0b76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sources/soundsourceffmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8ca0b76

Please sign in to comment.