diff --git a/Core/HW/MediaEngine.cpp b/Core/HW/MediaEngine.cpp index 4f079536c..d6ce76a8a 100644 --- a/Core/HW/MediaEngine.cpp +++ b/Core/HW/MediaEngine.cpp @@ -344,7 +344,7 @@ int MediaEngine::addStreamData(u8* buffer, int addSize) { m_demux->demux(m_audioStream); } #ifdef USE_FFMPEG - if (!m_pFormatCtx && m_pdata->getQueueSize() >= 2048 * 5) { + if (!m_pFormatCtx && m_pdata->getQueueSize() >= 2048) { m_pdata->get_front(m_mpegheader, sizeof(m_mpegheader)); int mpegoffset = bswap32(*(int*)(m_mpegheader + 8)); m_pdata->pop_front(0, mpegoffset);