From a0822084a005eb112c235056aa3279bcc267452c Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Thu, 25 Mar 2010 23:48:09 +0200 Subject: [PATCH] divx: add const to fix compiler warnings --- ext/divx/gstdivxdec.c | 4 ++-- ext/divx/gstdivxenc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/divx/gstdivxdec.c b/ext/divx/gstdivxdec.c index 2e9543c41e..2b6625616a 100644 --- a/ext/divx/gstdivxdec.c +++ b/ext/divx/gstdivxdec.c @@ -71,10 +71,10 @@ static GstElementClass *parent_class = NULL; /* static guint gst_divxdec_signals[LAST_SIGNAL] = { 0 }; */ -static gchar * +static const gchar * gst_divxdec_error (int errorcode) { - gchar *error; + const gchar *error; switch (errorcode) { case DEC_OK: diff --git a/ext/divx/gstdivxenc.c b/ext/divx/gstdivxenc.c index 0fab155013..0fa43f45e1 100644 --- a/ext/divx/gstdivxenc.c +++ b/ext/divx/gstdivxenc.c @@ -78,10 +78,10 @@ static GstElementClass *parent_class = NULL; static guint gst_divxenc_signals[LAST_SIGNAL] = { 0 }; -static gchar * +static const gchar * gst_divxenc_error (int errorcode) { - gchar *error; + const gchar *error; switch (errorcode) { case ENC_BUFFER: