summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Merle <sylane@gmail.com>2008-06-12 13:51:51 +0000
committerWim Taymans <wim.taymans@gmail.com>2008-06-12 13:51:51 +0000
commit12d250c61260d82cba6b1ee6b91a5bf980679be3 (patch)
treec244df4518e941fd6e2364842a6c0b1cea93460e
parent0dc1c6799be7d7ad4ee67c9a1be1a41ea82e74d4 (diff)
downloadgst-plugins-bad-12d250c61260d82cba6b1ee6b91a5bf980679be3.tar.gz
gst-plugins-bad-12d250c61260d82cba6b1ee6b91a5bf980679be3.tar.bz2
gst-plugins-bad-12d250c61260d82cba6b1ee6b91a5bf980679be3.zip
ext/amrwb/gstamrwbdec.c: Fix the sign of the data we pass to the decoder so that the decoder compiles with newer refe...
Original commit message from CVS: Patch by: Sebastien Merle <sylane at gmail dot com> * ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_chain): Fix the sign of the data we pass to the decoder so that the decoder compiles with newer reference code as well. Fixes #528618.
-rw-r--r--ChangeLog8
-rw-r--r--ext/amrwb/gstamrwbdec.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b59a1065..aeb12b7b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-06-12 Wim Taymans <wim.taymans@collabora.co.uk>
+
+ Patch by: Sebastien Merle <sylane at gmail dot com>
+
+ * ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_chain):
+ Fix the sign of the data we pass to the decoder so that the decoder
+ compiles with newer reference code as well. Fixes #528618.
+
2008-06-12 Stefan Kost <ensonic@users.sf.net>
* tests/icles/test-oss4.c:
diff --git a/ext/amrwb/gstamrwbdec.c b/ext/amrwb/gstamrwbdec.c
index 9324fad5..525b49c3 100644
--- a/ext/amrwb/gstamrwbdec.c
+++ b/ext/amrwb/gstamrwbdec.c
@@ -306,7 +306,7 @@ gst_amrwbdec_chain (GstPad * pad, GstBuffer * buffer)
gst_buffer_set_caps (out, GST_PAD_CAPS (amrwbdec->srcpad));
/* decode */
- D_IF_decode (amrwbdec->handle, (Word8 *) data,
+ D_IF_decode (amrwbdec->handle, (UWord8 *) data,
(Word16 *) GST_BUFFER_DATA (out), _good_frame);
g_free ((gpointer) data);