mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
more compatibility stuff for 1.0.3 -> 1.0.4
Original commit message from CVS: more compatibility stuff for 1.0.3 -> 1.0.4
This commit is contained in:
parent
a06f00ebb1
commit
cea94d9130
1 changed files with 10 additions and 0 deletions
|
@ -13,14 +13,24 @@
|
||||||
/* FIXME when there's a autoconf symbol */
|
/* FIXME when there's a autoconf symbol */
|
||||||
#ifndef FLAC_VERSION
|
#ifndef FLAC_VERSION
|
||||||
|
|
||||||
|
#ifdef FLAC__STREAM_ENCODER_OK
|
||||||
|
#define FLAC_VERSION 0x010004
|
||||||
|
#else
|
||||||
#ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE
|
#ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE
|
||||||
#define FLAC_VERSION 0x010003
|
#define FLAC_VERSION 0x010003
|
||||||
#else
|
#else
|
||||||
#define FLAC_VERSION 0x010002
|
#define FLAC_VERSION 0x010002
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* !defined(FLAC_VERSION) */
|
#endif /* !defined(FLAC_VERSION) */
|
||||||
|
|
||||||
|
#if FLAC_VERSION < 0x010004
|
||||||
|
#define FLAC__STREAM_ENCODER_OK FLAC__STREAM_ENCODER_WRITE_OK
|
||||||
|
#define FLAC__seekable_stream_decoder_process_single(a) \
|
||||||
|
FLAC__seekable_stream_decoder_process_one_frame(a)
|
||||||
|
#endif /* FLAC_VERSION < 0x010004 */
|
||||||
|
|
||||||
#if FLAC_VERSION < 0x010003
|
#if FLAC_VERSION < 0x010003
|
||||||
|
|
||||||
#define FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC \
|
#define FLAC__STREAM_DECODER_ERROR_STATUS_LOST_SYNC \
|
||||||
|
|
Loading…
Reference in a new issue