rdpsnd: reset close request when a wave is received.
authorVic Lee <llyzs@163.com>
Tue, 16 Aug 2011 01:23:29 +0000 (09:23 +0800)
committerVic Lee <llyzs@163.com>
Tue, 16 Aug 2011 01:23:29 +0000 (09:23 +0800)
channels/rdpsnd/rdpsnd_main.c

index 4f2910a..b35311d 100644 (file)
@@ -306,6 +306,7 @@ static void rdpsnd_process_message_wave_info(rdpsndPlugin* rdpsnd, STREAM* data_
 
        DEBUG_SVC("waveDataSize %d wFormatNo %d", rdpsnd->waveDataSize, wFormatNo);
 
+       rdpsnd->close_timestamp = 0;
        if (!rdpsnd->is_open)
        {
                rdpsnd->current_format = wFormatNo;