summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/musepack/gstmusepackreader.c2
-rw-r--r--ext/musepack/gstmusepackreader.cpp2
3 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 53af42d7..f1ff9620 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+ * ext/musepack/gstmusepackreader.cpp:
+ Workaround for older core.
+
+2004-11-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
+
* gst/ffmpegcolorspace/imgconvert.c: (yuv420p_to_yuv422):
Actually test for odd width/height rather than testing whether
a temporary variable that was 0 before we subtracted 1 is now
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);
}
diff --git a/ext/musepack/gstmusepackreader.cpp b/ext/musepack/gstmusepackreader.cpp
index e26baabc..2bef1cf2 100644
--- a/ext/musepack/gstmusepackreader.cpp
+++ b/ext/musepack/gstmusepackreader.cpp
@@ -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);
}