From 70c4f19768de2f21a35149a2a34bc7679e3e8ba2 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 20 Sep 2006 17:04:57 +0000 Subject: [PATCH] tests/check/: Fix some warnings. Original commit message from CVS: * tests/check/elements/gdpdepay.c: (GST_START_TEST): * tests/check/elements/multifdsink.c: (GST_START_TEST): * tests/check/elements/videorate.c: (GST_START_TEST): * tests/check/libs/cddabasesrc.c: (GST_START_TEST): * tests/check/pipelines/oggmux.c: (eos_buffer_probe): Fix some warnings. --- tests/check/elements/gdpdepay.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tests/check/elements/gdpdepay.c b/tests/check/elements/gdpdepay.c index 74277cdfb0..541816f5cc 100644 --- a/tests/check/elements/gdpdepay.c +++ b/tests/check/elements/gdpdepay.c @@ -105,11 +105,9 @@ GST_START_TEST (test_audio_per_byte) GstCaps *caps; GstPad *srcpad; GstElement *gdpdepay; - GstBuffer *buffer, *inbuffer, *outbuffer; - gint length; + GstBuffer *buffer, *outbuffer; guint8 *header, *payload; guint len; - guint i; gdpdepay = setup_gdpdepay (); srcpad = gst_element_get_pad (gdpdepay, "src"); @@ -177,9 +175,8 @@ GST_START_TEST (test_audio_in_one_buffer) GstCaps *caps; GstPad *srcpad; GstElement *gdpdepay; - GstBuffer *buffer, *inbuffer, *outbuffer; - gint length; - guint8 *caps_header, *caps_payload, *buf_header, *buf_payload; + GstBuffer *buffer, *inbuffer; + guint8 *caps_header, *caps_payload, *buf_header; guint header_len, payload_len; guint i; @@ -273,8 +270,7 @@ GST_START_TEST (test_streamheader) GstPad *srcpad; GstElement *gdpdepay; GstBuffer *buffer, *inbuffer, *outbuffer, *shbuffer; - gint length; - guint8 *caps_header, *caps_payload, *buf_header, *buf_payload; + guint8 *caps_header, *caps_payload, *buf_header; guint header_len, payload_len; guint i; GstStructure *structure; -- 2.34.1