diff options
author | David Schleef <ds@schleef.org> | 2004-05-08 00:20:18 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2004-05-08 00:20:18 +0000 |
commit | 5093ae66b9fb4b124a28976a9a4cb58c12ab8f75 (patch) | |
tree | 0c31f034e258034f7f12cabfceee67fa521706d0 | |
parent | 304141bd77278a90b1c85bba42bf0a9b082b8016 (diff) | |
download | gst-plugins-bad-5093ae66b9fb4b124a28976a9a4cb58c12ab8f75.tar.gz gst-plugins-bad-5093ae66b9fb4b124a28976a9a4cb58c12ab8f75.tar.bz2 gst-plugins-bad-5093ae66b9fb4b124a28976a9a4cb58c12ab8f75.zip |
ext/faad/gstfaad.c: HACK to correct signed char assumption in faad.h.
Original commit message from CVS:
* ext/faad/gstfaad.c: (gst_faad_sinkconnect): HACK to correct
signed char assumption in faad.h.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/faad/gstfaad.c | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2004-05-07 David Schleef <ds@schleef.org> + + * ext/faad/gstfaad.c: (gst_faad_sinkconnect): HACK to correct + signed char assumption in faad.h. + 2004-05-07 Ronald Bultje <rbultje@ronald.bitfreak.net> * sys/v4l2/gstv4l2src.c: (gst_v4l2src_v4l2fourcc_to_caps): diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 6c526c32..5aea2317 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -157,7 +157,8 @@ gst_faad_sinkconnect (GstPad * pad, const GstCaps * caps) guchar channels; buf = g_value_get_boxed (value); - if (faacDecInit2 (faad->handle, GST_BUFFER_DATA (buf), + /* someone forgot that char can be unsigned when writing the API */ + if ((gint8) faacDecInit2 (faad->handle, GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf), &samplerate, &channels) < 0) return GST_PAD_LINK_REFUSED; |