This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
alsaplayer/alsaplayer-0.99.7-play_frame_noerror_ckeck.patch

13 lines
508 B
Diff
Raw Normal View History

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++;