1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

winegstreamer: Add missing format fields to WMA support check.

Fixes: cc82780c22
This commit is contained in:
Anton Baskanov 2024-05-10 13:36:50 +07:00 committed by Alexandre Julliard
parent 08e13d1979
commit f8001fdc8e

View File

@ -1032,8 +1032,9 @@ HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out)
};
static const WMAUDIO2WAVEFORMAT input_format =
{
.wfx = {.wFormatTag = WAVE_FORMAT_WMAUDIO2, .nSamplesPerSec = 44100, .nChannels = 1,
.cbSize = sizeof(input_format) - sizeof(WAVEFORMATEX)},
.wfx = {.wFormatTag = WAVE_FORMAT_WMAUDIO2, .wBitsPerSample = 16, .nSamplesPerSec = 44100, .nChannels = 1,
.nAvgBytesPerSec = 3000, .nBlockAlign = 139, .cbSize = sizeof(input_format) - sizeof(WAVEFORMATEX)},
.wEncodeOptions = 1,
};
struct wma_decoder *decoder;
HRESULT hr;