Fixed invalid return.

This commit is contained in:
Armin Novak 2013-10-01 11:19:16 +02:00
parent 627e6ce4d5
commit 27566ce566

View File

@ -109,7 +109,7 @@ static int rdpsnd_opensles_set_params(rdpsndopenslesPlugin* opensles)
{
DEBUG_SND("opensles=%p", opensles);
if (!rdpsnd_opensles_check_handle(opensles))
return;
return 0;
if (opensles->stream)
android_CloseAudioDevice(opensles->stream);