mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
Bug fix for mpeg.
This commit is contained in:
1 parent
7bde93d534
commit
b1cc94b9bf
4 files changed
+12
-9
No files matched your search
@@ -307,6 +307,8 @@ int MediaEngine::addStreamData(u8* buffer, int addSize) {
|
||||
#ifdef USE_FFMPEG
|
||||
if (!m_pFormatCtx) {
|
||||
m_pdata->get_front(m_mpegheader, sizeof(m_mpegheader));
|
||||
int mpegoffset = bswap32(*(int*)(m_mpegheader + 8));
|
||||
m_pdata->pop_front(0, mpegoffset);
|
||||
openContext();
|
||||
}
|
||||
#endif // USE_FFMPEG
|
||||
|
||||
Reference in new issue
Block a user