divx: add const to fix compiler warnings

This commit is contained in:
Stefan Kost 2010-03-25 23:48:09 +02:00
parent 05cbc5df9e
commit a0822084a0
2 changed files with 4 additions and 4 deletions

View file

@ -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:

View file

@ -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: