mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
divx: add const to fix compiler warnings
This commit is contained in:
parent
05cbc5df9e
commit
a0822084a0
2 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue