changeset 33447:4506f91c0a06

Add "const" to avoid compiler warning.
author reimar
date Wed, 01 Jun 2011 18:49:14 +0000
parents 9f48a8de6be8
children 5e2569e52969
files libmpcodecs/vf_divtc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_divtc.c	Wed Jun 01 14:38:03 2011 +0000
+++ b/libmpcodecs/vf_divtc.c	Wed Jun 01 18:49:14 2011 +0000
@@ -598,7 +598,8 @@
 static int vf_open(vf_instance_t *vf, char *args)
    {
    struct vf_priv_s *p;
-   char *filename="framediff.log", *ap, *q, *a;
+   const char *filename="framediff.log";
+   char *ap, *q, *a;
 
    if(args && !(args=strdup(args)))
       {