diff options
-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; |