summaryrefslogtreecommitdiffstats
path: root/ext/musepack/gstmusepackreader.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/musepack/gstmusepackreader.c')
-rw-r--r--ext/musepack/gstmusepackreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/musepack/gstmusepackreader.c b/ext/musepack/gstmusepackreader.c
index e26baabc..2bef1cf2 100644
--- a/ext/musepack/gstmusepackreader.c
+++ b/ext/musepack/gstmusepackreader.c
@@ -87,7 +87,7 @@ GstMusepackReader::seek (mpc_int32_t offset)
/* hacky hack - if we're after typefind, we'll fail because
* typefind is still typefinding (heh :) ). So read first. */
- if (this->tell () == 0) {
+ if (this->tell () != this->get_size ()) {
guint8 dummy2[1];
this->read (dummy2, 1);
}