Remove hard-coded mimetype.

This commit is contained in:
Michael Jumper 2012-11-01 12:55:00 -07:00
parent 8f1b86586a
commit ef0eace8c5

View File

@ -132,7 +132,7 @@ boolean rdp_freerdp_pre_connect(freerdp* instance) {
const char* mimetype = client->info.audio_mimetypes[i];
// If Ogg is supported, done.
if (strcmp(mimetype, "audio/ogg") == 0) {
if (strcmp(mimetype, ogg_encoder->mimetype) == 0) {
guac_client_log_info(client, "Loading Ogg Vorbis encoder.");
guac_client_data->audio = audio_stream_alloc(client, ogg_encoder);
break;