diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-11 10:54:25 +0100 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2009-11-11 11:08:22 +0100 |
commit | 5df4c86c17d45797e69c51ac984ef8bc6d44a189 (patch) | |
tree | d47fc97c48bc71b5822cbf9ddf6318362d904993 /ext/celt | |
parent | 5cdcb21529296a4ae2f60e69aa8d3b30980d9ba2 (diff) | |
download | gstreamer-plugins-bad-5df4c86c17d45797e69c51ac984ef8bc6d44a189.tar.gz |
celt: Make celt version checks better extensible
Diffstat (limited to 'ext/celt')
-rw-r--r-- | ext/celt/gstceltenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/celt/gstceltenc.c b/ext/celt/gstceltenc.c index 0689e2a72..62934cdcc 100644 --- a/ext/celt/gstceltenc.c +++ b/ext/celt/gstceltenc.c @@ -777,13 +777,13 @@ gst_celt_enc_encode (GstCeltEnc * enc, gboolean flush) GST_DEBUG_OBJECT (enc, "encoding %d samples (%d bytes)", frame_size, bytes); -#ifdef HAVE_CELT_0_4 +#ifdef HAVE_CELT_0_5 outsize = - celt_encode (enc->state, data, + celt_encode (enc->state, data, NULL, GST_BUFFER_DATA (outbuf), bytes_per_packet); #else outsize = - celt_encode (enc->state, data, NULL, + celt_encode (enc->state, data, GST_BUFFER_DATA (outbuf), bytes_per_packet); #endif |