1
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 01:36:25 +01:00

Mark all fmt_list arrays as const.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30750 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-02-26 19:56:03 +00:00
parent 2ec8252503
commit 0d7e91b104
4 changed files with 4 additions and 4 deletions

View File

@ -189,7 +189,7 @@ static int query_format(struct vf_instance *vf, unsigned int fmt){
return 0;
}
static unsigned int fmt_list[]={
static const unsigned int fmt_list[]={
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,

View File

@ -416,7 +416,7 @@ static void parse(FilterParam *fp, char* args){
if(fp->strength) initNoise(fp);
}
static unsigned int fmt_list[]={
static const unsigned int fmt_list[]={
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,

View File

@ -159,7 +159,7 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){
extern int divx_quality;
static unsigned int fmt_list[]={
static const unsigned int fmt_list[]={
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,

View File

@ -263,7 +263,7 @@ static void parse( FilterParam *fp, char* args ) {
//===========================================================================//
static unsigned int fmt_list[] = {
static const unsigned int fmt_list[] = {
IMGFMT_YV12,
IMGFMT_I420,
IMGFMT_IYUV,