summaryrefslogtreecommitdiffstats
path: root/ext/speex/gstspeexenc.c
diff options
context:
space:
mode:
authorStéphane Loeuillet <gstreamer@leroutier.net>2004-05-20 21:57:11 +0000
committerStéphane Loeuillet <gstreamer@leroutier.net>2004-05-20 21:57:11 +0000
commita4ee05fa18cd395ba6b30f99521ee868b57dd453 (patch)
treec4df68012525af654d4a4dd4cdb07bef0c9f25d4 /ext/speex/gstspeexenc.c
parent7f23e537174c6e4f986c112863742c1f43eb8b41 (diff)
- reenable speex plugins for speex 1.1.5 (API/ABI compatible with 1.0.x)
Original commit message from CVS: - reenable speex plugins for speex 1.1.5 (API/ABI compatible with 1.0.x) - fix a cast warning that prevent compilation of speexenc
Diffstat (limited to 'ext/speex/gstspeexenc.c')
-rw-r--r--ext/speex/gstspeexenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c
index 143a269d..b446ec98 100644
--- a/ext/speex/gstspeexenc.c
+++ b/ext/speex/gstspeexenc.c
@@ -151,7 +151,7 @@ gst_speexenc_init (GstSpeexEnc * speexenc)
gst_element_add_pad (GST_ELEMENT (speexenc), speexenc->srcpad);
speex_bits_init (&speexenc->bits);
- speexenc->mode = &speex_nb_mode;
+ speexenc->mode = (SpeexMode *) & speex_nb_mode;
speexenc->bufsize = 0;
speexenc->packet_count = 0;
speexenc->n_packets = 20;