Skip to content

Commit

Permalink
Revert "winegstreamer: Remove useless check when creating a WMA decod…
Browse files Browse the repository at this point in the history
…er."

This reverts commit afb2a0c.

This is no longer needed - fixed properly in the backports :-)
  • Loading branch information
ivyl committed Oct 27, 2022
1 parent 672e0dd commit d4e9a19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions dlls/winegstreamer/wma_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,13 @@ HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out)

TRACE("outer %p, out %p.\n", outer, out);

if (!(transform = wg_transform_create(&input_format, &output_format)))
{
ERR_(winediag)("GStreamer doesn't support WMA decoding, please install appropriate plugins\n");
return E_FAIL;
}
wg_transform_destroy(transform);

if (!(decoder = calloc(1, sizeof(*decoder))))
return E_OUTOFMEMORY;

Expand Down

0 comments on commit d4e9a19

Please sign in to comment.