mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Windows: Correct some variable init warnings.
This commit is contained in:
1 parent
4a33b5d4e2
commit
7119011363
5 files changed
+10
-10
No files matched your search
@@ -106,8 +106,8 @@ AudioFormatTransform g_AudioFormats[] = {
|
||||
const int g_cVideoFormats = ARRAYSIZE(g_VideoFormats);
|
||||
const int g_cAudioFormats = ARRAYSIZE(g_AudioFormats);
|
||||
|
||||
MediaParam defaultVideoParam = { 640, 480, 0, MFVideoFormat_RGB24 };
|
||||
MediaParam defaultAudioParam = { 44100, 2, 16, MFAudioFormat_PCM };
|
||||
MediaParam defaultVideoParam = { { 640, 480, 0, MFVideoFormat_RGB24 } };
|
||||
MediaParam defaultAudioParam = { { 44100, 2, 16, MFAudioFormat_PCM } };
|
||||
|
||||
HRESULT GetDefaultStride(IMFMediaType *pType, LONG *plStride);
|
||||
|
||||
@@ -435,7 +435,7 @@ WindowsCaptureDevice::WindowsCaptureDevice(CAPTUREDEVIDE_TYPE _type) :
|
||||
errorMessage(""),
|
||||
state(CAPTUREDEVIDE_STATE::UNINITIALIZED) {
|
||||
param = { 0 };
|
||||
deviceParam = { 0 };
|
||||
deviceParam = { { 0 } };
|
||||
|
||||
switch (type) {
|
||||
case CAPTUREDEVIDE_TYPE::VIDEO:
|
||||
|
||||
Reference in new issue
Block a user