summaryrefslogtreecommitdiff
path: root/audio/mpg123/patches
diff options
context:
space:
mode:
Diffstat (limited to 'audio/mpg123/patches')
-rw-r--r--audio/mpg123/patches/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/audio/mpg123/patches/patch-aa b/audio/mpg123/patches/patch-aa
index 2cbd51a00ed..5b095b46741 100644
--- a/audio/mpg123/patches/patch-aa
+++ b/audio/mpg123/patches/patch-aa
@@ -66,3 +66,23 @@
if (param.outmode == DECODE_AUDIO)
audio_queueflush (ai);
#endif
+*** common.c.old Sat Feb 28 15:42:24 1998
+--- common.c Sat Feb 28 15:42:36 1998
+***************
+*** 587,593 ****
+ too much distortion in the audio output). */
+ do {
+ try++;
+! rd->head_shift(hbuf,&newhead);
+ if (!oldhead)
+ goto init_resync; /* "considered harmful", eh? */
+
+--- 587,594 ----
+ too much distortion in the audio output). */
+ do {
+ try++;
+! if (rd->head_shift(hbuf,&newhead) == 0)
+! return 0;
+ if (!oldhead)
+ goto init_resync; /* "considered harmful", eh? */
+