ext/musepack/gstmusepackreader.cpp: Workaround for older core.

Original commit message from CVS:
* ext/musepack/gstmusepackreader.cpp:
Workaround for older core.
This commit is contained in:
Ronald S. Bultje 2004-11-11 17:43:30 +00:00
parent 8ea1ed65fd
commit 984afa2453
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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):

View file

@ -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);
}

View file

@ -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);
}