diff --git a/ChangeLog b/ChangeLog index 2702a1b906..d27a94e487 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-20 Tim-Philipp Müller + + * ext/flac/gstflacenc.c: + Fix compilation against older libflac versions. + 2008-08-20 Sebastian Dröge * ext/pulse/pulsemixer.c: (gst_pulsemixer_class_init), diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c index 4974fb84f0..b202fba3e7 100644 --- a/ext/flac/gstflacenc.c +++ b/ext/flac/gstflacenc.c @@ -797,7 +797,7 @@ gst_flac_enc_seek_callback (const FLAC__StreamEncoder * encoder, GST_DEBUG ("Seek to %" G_GUINT64_FORMAT " %s", absolute_byte_offset, "failed"); #ifdef LEGACY_FLAC - return FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED; + return FLAC__SEEKABLE_STREAM_ENCODER_SEEK_STATUS_ERROR; #else return FLAC__STREAM_ENCODER_SEEK_STATUS_UNSUPPORTED; #endif