summaryrefslogtreecommitdiffstats
path: root/ext/flac
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2008-08-20 21:54:35 +0000
committerTim-Philipp Müller <tim@centricular.net>2008-08-20 21:54:35 +0000
commit5b586be974db096c0f83c5047ecef973d8b1f633 (patch)
treeca985a3aa4594d025e813807e383381a22264008 /ext/flac
parent95d423981983bc657539a0e66c5c27db21592ee2 (diff)
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.
Diffstat (limited to 'ext/flac')
-rw-r--r--ext/flac/gstflacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index 4974fb84..b202fba3 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