Make ro memory to share.

Original commit message from CVS:
* ext/annodex/gstcmmltag.c:
* gst/rtp/gstrtpvorbispay.c:
Make ro memory to share.
This commit is contained in:
Stefan Kost 2007-08-16 12:15:06 +00:00
parent 042d3a461c
commit 22bcaa904c
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2007-08-16 Stefan Kost <ensonic@users.sf.net>
* ext/annodex/gstcmmltag.c:
* gst/rtp/gstrtpvorbispay.c:
Make ro memory to share.
2007-08-16 Wim Taymans <wim.taymans@gmail.com>
* gst/udp/gstudpsrc.c: (gst_udpsrc_create):

View file

@ -83,7 +83,7 @@ static void gst_cmml_tag_clip_value_from_string_value (const GValue * src,
static void set_object_on_value (GObject * object, GValue * dest);
static const gchar *default_preamble =
static const gchar default_preamble[] =
"<?xml version=\"1.0\" standalone=\"yes\"?>";
/* Stream tag */

View file

@ -212,7 +212,7 @@ static gchar *
encode_base64 (const guint8 * in, guint size, guint * len)
{
gchar *ret, *d;
static const gchar *v =
static const gchar v[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
*len = ((size + 2) / 3) * 4;