Mercurial > audlegacy-plugins
comparison src/madplug/plugin.c @ 2985:6ace9600e4b5
Fix a warning - this time without killing seek code.
| author | Jonathan Schleifer <js-audacious@webkeks.org> |
|---|---|
| date | Sun, 02 Nov 2008 01:33:20 +0100 |
| parents | 3b39a56caaaa |
| children | 059285b5de7c |
comparison
equal
deleted
inserted
replaced
| 2984:3b39a56caaaa | 2985:6ace9600e4b5 |
|---|---|
| 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 glong tmppos = skip - (chksize - chkpos); | 439 glong tmppos = skip - (chksize - chkpos); |
| 440 #ifdef MADPROBE_DEBUG | |
| 440 gint tmpres = aud_vfs_fseek(fin, tmppos, SEEK_CUR); | 441 gint tmpres = aud_vfs_fseek(fin, tmppos, SEEK_CUR); |
| 442 #else | |
| 443 aud_vfs_fseek(fin, tmppos, SEEK_CUR); | |
| 444 #endif | |
| 441 LOL("[skipping: %ld -> %d]\n", tmppos, tmpres); | 445 LOL("[skipping: %ld -> %d]\n", tmppos, tmpres); |
| 442 next = STATE_GET_NEXT; | 446 next = STATE_GET_NEXT; |
| 443 state = STATE_REBUFFER; | 447 state = STATE_REBUFFER; |
| 444 } | 448 } |
| 445 break; | 449 break; |
