Module: wine Branch: master Commit: 31b3978c12bce7705f00771bf2b9f7c8bed7ffa2 URL: https://gitlab.winehq.org/wine/wine/-/commit/31b3978c12bce7705f00771bf2b9f7c...
Author: Paul Gofman pgofman@codeweavers.com Date: Tue Feb 14 14:08:31 2023 -0600
winegstreamer: Use default 0 for _AAC_PAYLOAD_TYPE if not set.
---
dlls/winegstreamer/mfplat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/mfplat.c b/dlls/winegstreamer/mfplat.c index d7c67de0fca..4cd095fb82e 100644 --- a/dlls/winegstreamer/mfplat.c +++ b/dlls/winegstreamer/mfplat.c @@ -670,7 +670,7 @@ static void mf_media_type_to_wg_format_audio_mpeg4(IMFMediaType *type, const GUI format->major_type = WG_MAJOR_TYPE_AUDIO_MPEG4;
if (FAILED(IMFMediaType_GetUINT32(type, &MF_MT_AAC_PAYLOAD_TYPE, &format->u.audio_mpeg4.payload_type))) - format->u.audio_mpeg4.payload_type = -1; + format->u.audio_mpeg4.payload_type = 0;
format->u.audio_mpeg4.codec_data_len = codec_data_size; }