change some char* into char[]
authorStefan Kost <ensonic@users.sourceforge.net>
Fri, 16 Dec 2005 21:57:51 +0000 (21:57 +0000)
committerStefan Kost <ensonic@users.sourceforge.net>
Fri, 16 Dec 2005 21:57:51 +0000 (21:57 +0000)
Original commit message from CVS:
* ext/esd/esdmon.c: (gst_esdmon_open_audio):
* ext/esd/esdsink.c: (gst_esdsink_prepare):
* gst/multipart/multipartdemux.c:
change some char* into char[]

ChangeLog
ext/esd/esdmon.c
ext/esd/esdsink.c
gst/multipart/multipartdemux.c

index adcaed2..1297bb5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-12-16  Stefan Kost  <ensonic@users.sf.net>
+
+       * ext/esd/esdmon.c: (gst_esdmon_open_audio):
+       * ext/esd/esdsink.c: (gst_esdsink_prepare):
+       * gst/multipart/multipartdemux.c:
+          change some char* into char[]
+
 2005-12-16  Wim Taymans  <wim@fluendo.com>
 
        * gst/wavparse/gstwavparse.c: (gst_wavparse_reset),
index eaa8b09..5811105 100644 (file)
@@ -372,7 +372,7 @@ static gboolean
 gst_esdmon_open_audio (GstEsdmon * src)
 {
   /* Name used by esound for this connection. */
-  const char *connname = "GStreamer";
+  const char connname[] = "GStreamer";
 
   /* Bitmap describing audio format. */
   esd_format_t esdformat = ESD_STREAM | ESD_PLAY;
index 5f4836d..1f4a934 100644 (file)
@@ -253,7 +253,7 @@ gst_esdsink_prepare (GstAudioSink * asink, GstRingBufferSpec * spec)
   GstEsdSink *esdsink = GST_ESDSINK (asink);
 
   /* Name used by esound for this connection. */
-  const char *connname = "GStreamer";
+  const char connname[] = "GStreamer";
 
   /* Bitmap describing audio format. */
   esd_format_t esdformat = ESD_STREAM | ESD_PLAY;
index 389f239..8321423 100644 (file)
@@ -106,7 +106,7 @@ struct _GstMultipartDemuxClass
 GST_DEBUG_CATEGORY_STATIC (gst_multipart_demux_debug);
 #define GST_CAT_DEFAULT gst_multipart_demux_debug
 
-static gchar *toFind = "--ThisRandomString\nContent-type: ";
+static gchar toFind[] = "--ThisRandomString\nContent-type: ";
 static gint toFindLen;
 
 /* elementfactory information */