mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-14 22:20:42 +00:00
winegstreamer: Use default 0 for _AAC_PAYLOAD_TYPE if not set.
This commit is contained in:
parent
a646aa4433
commit
31b3978c12
|
@ -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;
|
format->major_type = WG_MAJOR_TYPE_AUDIO_MPEG4;
|
||||||
|
|
||||||
if (FAILED(IMFMediaType_GetUINT32(type, &MF_MT_AAC_PAYLOAD_TYPE, &format->u.audio_mpeg4.payload_type)))
|
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;
|
format->u.audio_mpeg4.codec_data_len = codec_data_size;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue