Fixed missing return in server_rdpsnd_get_formats
This commit is contained in:
parent
fbceb7c75a
commit
e319ec5bd3
@ -164,6 +164,7 @@ size_t server_rdpsnd_get_formats(AUDIO_FORMAT** dst_formats)
|
|||||||
|
|
||||||
/* Set default audio formats. */
|
/* Set default audio formats. */
|
||||||
*dst_formats = supported_audio_formats;
|
*dst_formats = supported_audio_formats;
|
||||||
|
return y;
|
||||||
fail:
|
fail:
|
||||||
audio_formats_free(supported_audio_formats, ARRAYSIZE(default_supported_audio_formats));
|
audio_formats_free(supported_audio_formats, ARRAYSIZE(default_supported_audio_formats));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user