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.
This commit is contained in:
Tim-Philipp Müller 2008-08-20 21:54:35 +00:00
parent 95d4239819
commit 5b586be974
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-08-20 Tim-Philipp Müller <tim at collabora co uk>
* ext/flac/gstflacenc.c:
Fix compilation against older libflac versions.
2008-08-20 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* ext/pulse/pulsemixer.c: (gst_pulsemixer_class_init),

View file

@ -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