comparison src/madplug/plugin.c @ 2984:3b39a56caaaa

It is customary to check that warning fixes do not break things. This one does, so it dies. Thanks to jdhore for troubleshooting.
author Tony Vroon <chainsaw@gentoo.org>
date Sun, 02 Nov 2008 00:15:23 +0000
parents 0910d4d2714d
children 6ace9600e4b5
comparison
equal deleted inserted replaced
2983:828fa2348ac9 2984:3b39a56caaaa
434 LOL("[in buffer]\n"); 434 LOL("[in buffer]\n");
435 chkpos += skip; 435 chkpos += skip;
436 state = STATE_GET_NEXT; 436 state = STATE_GET_NEXT;
437 } else { 437 } else {
438 /* No, re-fill buffer and try again .. */ 438 /* No, re-fill buffer and try again .. */
439 #ifdef MADPROBE_DEBUG
440 glong tmppos = skip - (chksize - chkpos); 439 glong tmppos = skip - (chksize - chkpos);
441 gint tmpres = aud_vfs_fseek(fin, tmppos, SEEK_CUR); 440 gint tmpres = aud_vfs_fseek(fin, tmppos, SEEK_CUR);
442 #endif
443 LOL("[skipping: %ld -> %d]\n", tmppos, tmpres); 441 LOL("[skipping: %ld -> %d]\n", tmppos, tmpres);
444 next = STATE_GET_NEXT; 442 next = STATE_GET_NEXT;
445 state = STATE_REBUFFER; 443 state = STATE_REBUFFER;
446 } 444 }
447 break; 445 break;