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 /ext/faad | |
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.
Diffstat (limited to 'ext/faad')
-rw-r--r-- | ext/faad/gstfaad.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |