Signed-off-by: Fabian Maurer dark.shadow4@web.de --- dlls/mfplat/mediatype.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mfplat/mediatype.c b/dlls/mfplat/mediatype.c index 71d55e2d232..a05fec9ad43 100644 --- a/dlls/mfplat/mediatype.c +++ b/dlls/mfplat/mediatype.c @@ -1380,6 +1380,7 @@ static const WAVEFORMATEX * WINAPI audio_mediatype_GetAudioFormat(IMFAudioMediaT &size, MFWaveFormatExConvertFlag_Normal))) { WARN("Failed to create wave format description, hr %#lx.\n", hr); + media_type->audio_format = 0; }
return media_type->audio_format; -- 2.36.0