diff options
-rw-r--r-- | src/DeCSS/udf.cpp | 4 | ||||
-rw-r--r-- | src/filters/renderer/VideoRenderers/EVRAllocatorPresenter.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/DeCSS/udf.cpp b/src/DeCSS/udf.cpp index 150016bde..6007219bf 100644 --- a/src/DeCSS/udf.cpp +++ b/src/DeCSS/udf.cpp @@ -68,8 +68,8 @@ tp_udf_file udf_get_root(const HANDLE hDrive, const WORD partition_number) tp_udf_tag tag = (tp_udf_tag)sector;
DWORD sec_size, max_sec, i, j;
DWORD MVDS_lba, MVDS_lba_end, MVDS_back_lba, MVDS_back_lba_end;
- DWORD FileDescriptorSequence_lba, FileDescriptorSequence_lba_end;
- DWORD partition_lba, parent_icb;
+ DWORD FileDescriptorSequence_lba = 0, FileDescriptorSequence_lba_end;
+ DWORD partition_lba = 0, parent_icb;
tp_udf_AnchorVolumeDescriptorPointer avd;
bool res, part_valid, vol_valid;
diff --git a/src/filters/renderer/VideoRenderers/EVRAllocatorPresenter.cpp b/src/filters/renderer/VideoRenderers/EVRAllocatorPresenter.cpp index e459e617e..62dd01fff 100644 --- a/src/filters/renderer/VideoRenderers/EVRAllocatorPresenter.cpp +++ b/src/filters/renderer/VideoRenderers/EVRAllocatorPresenter.cpp @@ -674,7 +674,7 @@ HRESULT CEVRAllocatorPresenter::IsMediaTypeSupported(IMFMediaType* pMixerType) }
// We support only progressive formats
- MFVideoInterlaceMode InterlaceMode;
+ MFVideoInterlaceMode InterlaceMode = MFVideoInterlace_Unknown;
if (SUCCEEDED(hr)) {
hr = pMixerType->GetUINT32(MF_MT_INTERLACE_MODE, (UINT32*)&InterlaceMode);
|