summaryrefslogtreecommitdiff
path: root/ext/celt
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-11 10:54:25 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2009-11-11 11:08:22 +0100
commit5df4c86c17d45797e69c51ac984ef8bc6d44a189 (patch)
treed47fc97c48bc71b5822cbf9ddf6318362d904993 /ext/celt
parent5cdcb21529296a4ae2f60e69aa8d3b30980d9ba2 (diff)
downloadgstreamer-plugins-bad-5df4c86c17d45797e69c51ac984ef8bc6d44a189.tar.gz
celt: Make celt version checks better extensible
Diffstat (limited to 'ext/celt')
-rw-r--r--ext/celt/gstceltenc.c6
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