[MPlayer-cvslog] r30750 - in trunk/libmpcodecs: vf_delogo.c vf_noise.c vf_pp.c vf_unsharp.c

diego subversion at mplayerhq.hu
Fri Feb 26 20:56:03 CET 2010


Author: diego
Date: Fri Feb 26 20:56:03 2010
New Revision: 30750

Log:
Mark all fmt_list arrays as const.

Modified:
   trunk/libmpcodecs/vf_delogo.c
   trunk/libmpcodecs/vf_noise.c
   trunk/libmpcodecs/vf_pp.c
   trunk/libmpcodecs/vf_unsharp.c

Modified: trunk/libmpcodecs/vf_delogo.c
==============================================================================
--- trunk/libmpcodecs/vf_delogo.c	Fri Feb 26 18:21:06 2010	(r30749)
+++ trunk/libmpcodecs/vf_delogo.c	Fri Feb 26 20:56:03 2010	(r30750)
@@ -189,7 +189,7 @@ static int query_format(struct vf_instan
     return 0;
 }
 
-static unsigned int fmt_list[]={
+static const unsigned int fmt_list[]={
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,

Modified: trunk/libmpcodecs/vf_noise.c
==============================================================================
--- trunk/libmpcodecs/vf_noise.c	Fri Feb 26 18:21:06 2010	(r30749)
+++ trunk/libmpcodecs/vf_noise.c	Fri Feb 26 20:56:03 2010	(r30750)
@@ -416,7 +416,7 @@ static void parse(FilterParam *fp, char*
 	if(fp->strength) initNoise(fp);
 }
 
-static unsigned int fmt_list[]={
+static const unsigned int fmt_list[]={
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,

Modified: trunk/libmpcodecs/vf_pp.c
==============================================================================
--- trunk/libmpcodecs/vf_pp.c	Fri Feb 26 18:21:06 2010	(r30749)
+++ trunk/libmpcodecs/vf_pp.c	Fri Feb 26 20:56:03 2010	(r30750)
@@ -159,7 +159,7 @@ static int put_image(struct vf_instance 
 
 extern int divx_quality;
 
-static unsigned int fmt_list[]={
+static const unsigned int fmt_list[]={
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,

Modified: trunk/libmpcodecs/vf_unsharp.c
==============================================================================
--- trunk/libmpcodecs/vf_unsharp.c	Fri Feb 26 18:21:06 2010	(r30749)
+++ trunk/libmpcodecs/vf_unsharp.c	Fri Feb 26 20:56:03 2010	(r30750)
@@ -263,7 +263,7 @@ static void parse( FilterParam *fp, char
 
 //===========================================================================//
 
-static unsigned int fmt_list[] = {
+static const unsigned int fmt_list[] = {
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,


More information about the MPlayer-cvslog mailing list