mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Remove global num videos hack.
This commit is contained in:
1 parent
99d29356d7
commit
f5b93bc6f0
8 files changed
+15
-30
No files matched your search
@@ -39,8 +39,6 @@ extern "C" {
|
||||
}
|
||||
#endif // USE_FFMPEG
|
||||
|
||||
int g_iNumVideos = 0;
|
||||
|
||||
#ifdef USE_FFMPEG
|
||||
static AVPixelFormat getSwsFormat(int pspFormat)
|
||||
{
|
||||
@@ -149,12 +147,10 @@ MediaEngine::MediaEngine(): m_pdata(0) {
|
||||
m_ringbuffersize = 0;
|
||||
m_mpegheaderReadPos = 0;
|
||||
m_audioType = PSP_CODEC_AT3PLUS; // in movie, we use only AT3+ audio
|
||||
g_iNumVideos++;
|
||||
}
|
||||
|
||||
MediaEngine::~MediaEngine() {
|
||||
closeMedia();
|
||||
g_iNumVideos--;
|
||||
}
|
||||
|
||||
void MediaEngine::closeMedia() {
|
||||
|
||||
Reference in new issue
Block a user