diff -Nru alsaplayer-0.99.77.orig/app/CorePlayer.cpp alsaplayer-0.99.77/app/CorePlayer.cpp --- alsaplayer-0.99.77.orig/app/CorePlayer.cpp 2004-07-28 18:29:04.000000000 +0200 +++ alsaplayer-0.99.77/app/CorePlayer.cpp 2007-03-10 23:55:20.000000000 +0100 @@ -1152,7 +1152,7 @@ #ifdef DEBUG alsaplayer_error("frames read = %d", frames_read); #endif - return frames_read; + count = 0; } else { bytes_written += plugin->frame_size(the_object); // OPTIMIZE! frames_read++;