From 5b586be974db096c0f83c5047ecef973d8b1f633 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 20 Aug 2008 21:54:35 +0000 Subject: [PATCH] ext/flac/gstflacenc.c: Fix compilation against older libflac versions. Original commit message from CVS: * ext/flac/gstflacenc.c: Fix compilation against older libflac versions. --- ChangeLog | 5 +++++ ext/flac/gstflacenc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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