Fixed missing return in server_rdpsnd_get_formats
authorArmin Novak <armin.novak@thincast.com>
Wed, 17 Oct 2018 14:17:41 +0000 (16:17 +0200)
committerArmin Novak <armin.novak@thincast.com>
Wed, 17 Oct 2018 14:17:41 +0000 (16:17 +0200)
server/common/server.c

index e8211d9..d447a76 100644 (file)
@@ -164,6 +164,7 @@ size_t server_rdpsnd_get_formats(AUDIO_FORMAT** dst_formats)
 
        /* Set default audio formats. */
        *dst_formats = supported_audio_formats;
+       return y;
 fail:
        audio_formats_free(supported_audio_formats, ARRAYSIZE(default_supported_audio_formats));