diff options
author | Jeremy Simon <jsimon13@yahoo.fr> | 2003-12-27 19:37:17 +0000 |
---|---|---|
committer | Jeremy Simon <jsimon13@yahoo.fr> | 2003-12-27 19:37:17 +0000 |
commit | 99df41f0d7dd21bd147792ef44b5c89c61b53ece (patch) | |
tree | ac0aa8508b337e9759cb5aafade7809ff056b5f0 /gst-libs/gst/audio/audio.c | |
parent | d4b7a00d0f8ba2813cd345c7a08bc3999a42de1c (diff) | |
download | gst-plugins-bad-99df41f0d7dd21bd147792ef44b5c89c61b53ece.tar.gz gst-plugins-bad-99df41f0d7dd21bd147792ef44b5c89c61b53ece.tar.bz2 gst-plugins-bad-99df41f0d7dd21bd147792ef44b5c89c61b53ece.zip |
Fix warnings
Original commit message from CVS:
Fix warnings
Diffstat (limited to 'gst-libs/gst/audio/audio.c')
-rw-r--r-- | gst-libs/gst/audio/audio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst-libs/gst/audio/audio.c b/gst-libs/gst/audio/audio.c index bec298e9..e1d59220 100644 --- a/gst-libs/gst/audio/audio.c +++ b/gst-libs/gst/audio/audio.c @@ -35,7 +35,7 @@ gst_audio_frame_byte_size (GstPad* pad) int width = 0; int channels = 0; - GstCaps *caps; + const GstCaps *caps = NULL; GstStructure *structure; /* get caps of pad */ @@ -82,7 +82,7 @@ gst_audio_frame_rate (GstPad *pad) * returns 0 if failed, rate if success */ { - GstCaps *caps = NULL; + const GstCaps *caps = NULL; gint rate; GstStructure *structure; @@ -117,7 +117,7 @@ gst_audio_length (GstPad* pad, GstBuffer* buf) double length; - GstCaps *caps = NULL; + const GstCaps *caps = NULL; GstStructure *structure; g_assert (GST_IS_BUFFER (buf)); @@ -156,7 +156,7 @@ gst_audio_highest_sample_value (GstPad* pad) { gboolean is_signed = FALSE; gint width = 0; - GstCaps *caps = NULL; + const GstCaps *caps = NULL; GstStructure *structure; caps = GST_PAD_CAPS (pad); |