comparison libmpcodecs/vf_divtc.c @ 33447:4506f91c0a06

Add "const" to avoid compiler warning.
author reimar
date Wed, 01 Jun 2011 18:49:14 +0000
parents 02214457c955
children 064be070d8c8
comparison
equal deleted inserted replaced
33446:9f48a8de6be8 33447:4506f91c0a06
596 } 596 }
597 597
598 static int vf_open(vf_instance_t *vf, char *args) 598 static int vf_open(vf_instance_t *vf, char *args)
599 { 599 {
600 struct vf_priv_s *p; 600 struct vf_priv_s *p;
601 char *filename="framediff.log", *ap, *q, *a; 601 const char *filename="framediff.log";
602 char *ap, *q, *a;
602 603
603 if(args && !(args=strdup(args))) 604 if(args && !(args=strdup(args)))
604 { 605 {
605 nomem: 606 nomem:
606 mp_msg(MSGT_VFILTER, MSGL_FATAL, 607 mp_msg(MSGT_VFILTER, MSGL_FATAL,