mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Remove the 5 packet min for openContext.
Should be safer, and with retrying, it's no longer necessary.
This commit is contained in:
parent
2c38805791
commit
82a7680bab
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue