From b0d44057933b7efdfcf0e2657bb7622e0904e188 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 22 Dec 2001 16:59:10 +0000 Subject: made divx4 optional (also configure checking needed) and added avcodec_close git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3664 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cfg-mencoder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cfg-mencoder.h') diff --git a/cfg-mencoder.h b/cfg-mencoder.h index 36130e72db..2e564db7c6 100644 --- a/cfg-mencoder.h +++ b/cfg-mencoder.h @@ -13,6 +13,7 @@ extern int use_old_pp; extern int sws_flags; +#ifdef HAVE_DIVX4ENCORE struct config divx4opts_conf[]={ {"br", &divx4_param.bitrate, CONF_TYPE_INT, CONF_RANGE, 4, 24000000}, {"rc_period", &divx4_param.rc_period, CONF_TYPE_INT, 0,0,0}, @@ -27,6 +28,7 @@ struct config divx4opts_conf[]={ {"help", "TODO: divx4opts help!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0}, {NULL, NULL, 0, 0, 0, 0} }; +#endif #ifdef HAVE_MP3LAME struct config lameopts_conf[]={ @@ -102,10 +104,12 @@ struct config conf[]={ {"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4}, +#ifdef HAVE_DIVX4ENCORE {"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2}, {"passlogfile", &passtmpfile, CONF_TYPE_STRING, 0, 0, 0}, {"divx4opts", divx4opts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, +#endif #ifdef HAVE_MP3LAME {"lameopts", lameopts_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0}, #endif -- cgit v1.2.3