summaryrefslogtreecommitdiffstats
path: root/ext/speex
diff options
context:
space:
mode:
Diffstat (limited to 'ext/speex')
-rw-r--r--ext/speex/gstspeexdec.h2
-rw-r--r--ext/speex/gstspeexenc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/speex/gstspeexdec.h b/ext/speex/gstspeexdec.h
index dcb04a2c..f0cd61c0 100644
--- a/ext/speex/gstspeexdec.h
+++ b/ext/speex/gstspeexdec.h
@@ -57,7 +57,7 @@ struct _GstSpeexDec {
void *state;
SpeexStereoState stereo;
- SpeexMode *mode;
+ const SpeexMode * mode;
SpeexHeader *header;
SpeexCallback callback;
SpeexBits bits;
diff --git a/ext/speex/gstspeexenc.h b/ext/speex/gstspeexenc.h
index dc1983b6..0c002031 100644
--- a/ext/speex/gstspeexenc.h
+++ b/ext/speex/gstspeexenc.h
@@ -70,7 +70,7 @@ struct _GstSpeexEnc {
SpeexBits bits;
SpeexHeader header;
- SpeexMode *speex_mode;
+ const SpeexMode *speex_mode;
void *state;
GstSpeexMode mode;
GstAdapter *adapter;