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:
parent
2ec8252503
commit
0d7e91b104
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user