diff src/madplug/decoder.c @ 762:59b4bce10c3b trunk

[svn] - enable seeking on HTTP streams.
author nenolod
date Wed, 28 Feb 2007 21:16:10 -0800
parents 6ea974a229a8
children 1d3f70ac6b31
line wrap: on
line diff
--- a/src/madplug/decoder.c	Wed Feb 28 21:02:06 2007 -0800
+++ b/src/madplug/decoder.c	Wed Feb 28 21:16:10 2007 -0800
@@ -476,7 +476,7 @@
         }
 
         while (info->playback->playing) {
-            if (info->seek != -1 && !info->remote) {
+            if (info->seek != -1 && info->size != 0) {
 #ifdef DEBUG
                 g_message("seeking: %d", info->seek);
 #endif