Mercurial > mplayer.hg
comparison cfg-mencoder.h @ 30955:4e59a7aebadb
Mark encoder-related m_option_t struct arrays as const.
author | diego |
---|---|
date | Sun, 04 Apr 2010 15:59:09 +0000 |
parents | e4c7703dd901 |
children | dd7f15a3fb1b |
comparison
equal
deleted
inserted
replaced
30954:e8b0797970b6 | 30955:4e59a7aebadb |
---|---|
27 #include "cfg-common.h" | 27 #include "cfg-common.h" |
28 | 28 |
29 extern int sws_flags; | 29 extern int sws_flags; |
30 extern char *pp_help; | 30 extern char *pp_help; |
31 | 31 |
32 extern m_option_t lameopts_conf[]; | 32 extern const m_option_t faacopts_conf[]; |
33 extern m_option_t lavcopts_conf[]; | 33 extern const m_option_t lameopts_conf[]; |
34 extern m_option_t toolameopts_conf[]; | 34 extern const m_option_t lavcopts_conf[]; |
35 extern m_option_t twolameopts_conf[]; | 35 extern const m_option_t lavfopts_conf[]; |
36 extern m_option_t faacopts_conf[]; | 36 extern const m_option_t mpegopts_conf[]; |
37 extern m_option_t vfwopts_conf[]; | 37 extern const m_option_t nuvopts_conf[]; |
38 extern m_option_t xvidencopts_conf[]; | 38 extern const m_option_t toolameopts_conf[]; |
39 extern m_option_t nuvopts_conf[]; | 39 extern const m_option_t twolameopts_conf[]; |
40 extern m_option_t mpegopts_conf[]; | 40 extern const m_option_t vfwopts_conf[]; |
41 extern m_option_t lavfopts_conf[]; | 41 extern const m_option_t xvidencopts_conf[]; |
42 | 42 |
43 const m_option_t ovc_conf[]={ | 43 const m_option_t ovc_conf[]={ |
44 {"copy", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_COPY, NULL}, | 44 {"copy", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_COPY, NULL}, |
45 {"frameno", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_FRAMENO, NULL}, | 45 {"frameno", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_FRAMENO, NULL}, |
46 {"lavc", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_LIBAVCODEC, NULL}, | 46 {"lavc", &out_video_codec, CONF_TYPE_FLAG, 0, 0, VCODEC_LIBAVCODEC, NULL}, |