Mercurial > mplayer.hg
diff libmpcodecs/vd_ffmpeg.c @ 25241:bb7c65f2a289
Make m_option_t arrays referenced by cfg-common.h const
author | reimar |
---|---|
date | Sun, 02 Dec 2007 21:26:23 +0000 |
parents | 8d8e46de9df6 |
children | afa125da85cf |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Sun Dec 02 20:48:16 2007 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Sun Dec 02 21:26:23 2007 +0000 @@ -91,7 +91,7 @@ static int lavc_param_threads=1; static int lavc_param_bitexact=0; -m_option_t lavc_decode_opts_conf[]={ +const m_option_t lavc_decode_opts_conf[]={ {"bug", &lavc_param_workaround_bugs, CONF_TYPE_INT, CONF_RANGE, -1, 999999, NULL}, {"er", &lavc_param_error_resilience, CONF_TYPE_INT, CONF_RANGE, 0, 99, NULL}, {"gray", &lavc_param_gray, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_PART, NULL},