changeset 30708:8a96d56b01f0

Mark all fmt_list arrays as const.
author diego
date Fri, 26 Feb 2010 19:56:03 +0000
parents 4d15378da04a
children d7d299029638
files libmpcodecs/vf_delogo.c libmpcodecs/vf_noise.c libmpcodecs/vf_pp.c libmpcodecs/vf_unsharp.c
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_delogo.c	Fri Feb 26 17:21:06 2010 +0000
+++ b/libmpcodecs/vf_delogo.c	Fri Feb 26 19:56:03 2010 +0000
@@ -189,7 +189,7 @@
     return 0;
 }
 
-static unsigned int fmt_list[]={
+static const unsigned int fmt_list[]={
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,
--- a/libmpcodecs/vf_noise.c	Fri Feb 26 17:21:06 2010 +0000
+++ b/libmpcodecs/vf_noise.c	Fri Feb 26 19:56:03 2010 +0000
@@ -416,7 +416,7 @@
 	if(fp->strength) initNoise(fp);
 }
 
-static unsigned int fmt_list[]={
+static const unsigned int fmt_list[]={
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,
--- a/libmpcodecs/vf_pp.c	Fri Feb 26 17:21:06 2010 +0000
+++ b/libmpcodecs/vf_pp.c	Fri Feb 26 19:56:03 2010 +0000
@@ -159,7 +159,7 @@
 
 extern int divx_quality;
 
-static unsigned int fmt_list[]={
+static const unsigned int fmt_list[]={
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,
--- a/libmpcodecs/vf_unsharp.c	Fri Feb 26 17:21:06 2010 +0000
+++ b/libmpcodecs/vf_unsharp.c	Fri Feb 26 19:56:03 2010 +0000
@@ -263,7 +263,7 @@
 
 //===========================================================================//
 
-static unsigned int fmt_list[] = {
+static const unsigned int fmt_list[] = {
     IMGFMT_YV12,
     IMGFMT_I420,
     IMGFMT_IYUV,