changeset 773:f3d15ea6e56b trunk

[svn] - remove cyc based breaking
author nenolod
date Wed, 01 Mar 2006 11:09:13 -0800
parents f9bb836f4545
children 2d0e9b8d8403
files Plugins/Input/mpg123/mpg123.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/mpg123/mpg123.c	Wed Mar 01 10:39:35 2006 -0800
+++ b/Plugins/Input/mpg123/mpg123.c	Wed Mar 01 11:09:13 2006 -0800
@@ -243,14 +243,13 @@
     guchar buf[DET_BUF_SIZE];
     int in_buf, i;
     gboolean ret = FALSE;
-    guint cyc = 0;
 
     if ((file = vfs_fopen(filename, "rb")) == NULL)
         return FALSE;
     if (vfs_fread(tmp, 1, 4, file) != 4)
         goto done;
     head = convert_to_header(tmp);
-    while (!mpg123_head_check(head) && ++cyc < 10) {
+    while (!mpg123_head_check(head)) {
         /*
          * The mpeg-stream can start anywhere in the file,
          * so we check the entire file