summaryrefslogtreecommitdiffstats
path: root/gst/law/mulaw-encode.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-06-29 16:14:30 +0000
committerAndy Wingo <wingo@pobox.com>2005-06-29 16:14:30 +0000
commit2d109a18fb9bb87100c8b788457bc5c8458f9f50 (patch)
tree62c6ef1a57dc833de1a5daa1482832aa432f9e23 /gst/law/mulaw-encode.c
parent8f2272a99da38360a5c3ab9dfcb2d38a9a9f8ec0 (diff)
configure.ac (GST_CFLAGS): GCC strikes back!!! Let the build breakage ensue!!!
Original commit message from CVS: 2005-06-29 Andy Wingo <wingo@pobox.com> * configure.ac (GST_CFLAGS): GCC strikes back!!! Let the build breakage ensue!!! * gst/rtsp/gstrtspsrc.c (gst_rtspsrc_loop, gst_rtspsrc_open): Signedness, unused var fixes. (gst_rtspsrc_close): Unused? * gst/realmedia/rmdemux.c (re_hexdump_bytes): Unused. * gst/law/mulaw-encode.c (gst_mulawenc_chain): Signeness fix. * gst/law/alaw-encode.c (alawenc_getcaps): Remove unneeded declarations. Typo (probably crasher) fix. * gst/law/mulaw-encode.c (mulawdec_getcaps): * gst/law/mulaw-encode.c (mulawenc_getcaps): * gst/law/alaw-decode.c (alawdec_getcaps): Same crasher fix. * gst/goom/gstgoom.c (gst_goom_init): Hook up the event function. * gst/effectv/gstwarp.c (gst_warptv_setup): Signedness fix. * gst/effectv/gstdice.c (gst_dicetv_draw): Um, deferencing uninitialized pointer not good. * gst/videofilter/gstvideoexample.c (plugin_init): * gst/videofilter/Makefile.am (libgstvideoexample_la_LIBADD): Link to libgstvideofilter instead of gst_library_load. * gst/alpha/gstalpha.c (gst_alpha_chroma_key_i420) (gst_alpha_chroma_key_ayuv): Signedness fixen.
Diffstat (limited to 'gst/law/mulaw-encode.c')
-rw-r--r--gst/law/mulaw-encode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/law/mulaw-encode.c b/gst/law/mulaw-encode.c
index 4a2576ac..e17b5193 100644
--- a/gst/law/mulaw-encode.c
+++ b/gst/law/mulaw-encode.c
@@ -75,7 +75,7 @@ mulawenc_getcaps (GstPad * pad)
structure = gst_caps_get_structure (othercaps, 0);
orate = gst_structure_get_value (structure, "rate");
ochans = gst_structure_get_value (structure, "channels");
- if (!rate || !chans)
+ if (!orate || !ochans)
goto done;
structure = gst_caps_get_structure (base_caps, 0);
@@ -210,7 +210,7 @@ gst_mulawenc_chain (GstPad * pad, GstBuffer * buffer)
GST_BUFFER_TIMESTAMP (outbuf) = GST_BUFFER_TIMESTAMP (buffer);
GST_BUFFER_DURATION (outbuf) = GST_BUFFER_DURATION (buffer);
gst_buffer_set_caps (outbuf, GST_PAD_CAPS (mulawenc->srcpad));
- mulaw_data = (gint8 *) GST_BUFFER_DATA (outbuf);
+ mulaw_data = (guint8 *) GST_BUFFER_DATA (outbuf);
mulaw_encode (linear_data, mulaw_data, GST_BUFFER_SIZE (outbuf));