From 22bcaa904c0cb9e620c77378121d691617ada764 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 16 Aug 2007 12:15:06 +0000 Subject: [PATCH] Make ro memory to share. Original commit message from CVS: * ext/annodex/gstcmmltag.c: * gst/rtp/gstrtpvorbispay.c: Make ro memory to share. --- ChangeLog | 6 ++++++ ext/annodex/gstcmmltag.c | 2 +- gst/rtp/gstrtpvorbispay.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e5fe5a6e1ff..ca5dbf1f449 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-08-16 Stefan Kost + + * ext/annodex/gstcmmltag.c: + * gst/rtp/gstrtpvorbispay.c: + Make ro memory to share. + 2007-08-16 Wim Taymans * gst/udp/gstudpsrc.c: (gst_udpsrc_create): diff --git a/ext/annodex/gstcmmltag.c b/ext/annodex/gstcmmltag.c index 1a49d791112..a224c6da748 100644 --- a/ext/annodex/gstcmmltag.c +++ b/ext/annodex/gstcmmltag.c @@ -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[] = ""; /* Stream tag */ diff --git a/gst/rtp/gstrtpvorbispay.c b/gst/rtp/gstrtpvorbispay.c index f85ee94cc91..f8d19ce44f1 100644 --- a/gst/rtp/gstrtpvorbispay.c +++ b/gst/rtp/gstrtpvorbispay.c @@ -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;