diff options
author | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-09 06:58:32 +0000 |
---|---|---|
committer | rfelker <rfelker@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-11-09 06:58:32 +0000 |
commit | f713cb0faf11287bd143bb2cf2a187ead31ca869 (patch) | |
tree | 952a70f268df9e71ceb55ee9429a9a0df49c4023 /libmpcodecs/vf_crop.c | |
parent | 549d3be0c7fcd1290a210434d89c46f0e47c5623 (diff) | |
download | mpv-f713cb0faf11287bd143bb2cf2a187ead31ca869.tar.bz2 mpv-f713cb0faf11287bd143bb2cf2a187ead31ca869.tar.xz |
begin moving const filter data to .text/.rodata sections
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24997 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_crop.c')
-rw-r--r-- | libmpcodecs/vf_crop.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpcodecs/vf_crop.c b/libmpcodecs/vf_crop.c index 2bb2ea8bd2..c9bd11c6c7 100644 --- a/libmpcodecs/vf_crop.c +++ b/libmpcodecs/vf_crop.c @@ -13,10 +13,10 @@ #include "m_option.h" #include "m_struct.h" -static struct vf_priv_s { +static const struct vf_priv_s { int crop_w,crop_h; int crop_x,crop_y; -} const vf_priv_dflt = { +} vf_priv_dflt = { -1,-1, -1,-1 }; @@ -166,7 +166,7 @@ static int open(vf_instance_t *vf, char* args){ } #define ST_OFF(f) M_ST_OFF(struct vf_priv_s,f) -static m_option_t vf_opts_fields[] = { +static const m_option_t vf_opts_fields[] = { {"w", ST_OFF(crop_w), CONF_TYPE_INT, M_OPT_MIN,0 ,0, NULL}, {"h", ST_OFF(crop_h), CONF_TYPE_INT, M_OPT_MIN,0 ,0, NULL}, {"x", ST_OFF(crop_x), CONF_TYPE_INT, M_OPT_MIN,-1 ,0, NULL}, @@ -174,14 +174,14 @@ static m_option_t vf_opts_fields[] = { { NULL, NULL, 0, 0, 0, 0, NULL } }; -static m_struct_t vf_opts = { +static const m_struct_t vf_opts = { "crop", sizeof(struct vf_priv_s), &vf_priv_dflt, vf_opts_fields }; -vf_info_t vf_info_crop = { +const vf_info_t vf_info_crop = { "cropping", "crop", "A'rpi", |