change some char* into char[]

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[]
This commit is contained in:
Stefan Kost 2005-12-16 21:57:51 +00:00
parent 342fc46316
commit dfc939828d
4 changed files with 10 additions and 3 deletions

View file

@ -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),

View 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;

View 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;

View 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 */