changeset 9531:46340b0f5a91

fix for a couple of linking problems patch by (Ambrose Li <a.c.li at ieee dot org>)
author michael
date Wed, 05 Mar 2003 10:20:14 +0000
parents 1002193acb57
children 0b4c387ddd4f
files cfg-common.h libmpcodecs/vf.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Wed Mar 05 09:27:19 2003 +0000
+++ b/cfg-common.h	Wed Mar 05 10:20:14 2003 +0000
@@ -137,14 +137,18 @@
 	// postprocessing:
 	{"divxq", "Option -divxq has been renamed to -pp (postprocessing), use -pp !\n",
             CONF_TYPE_PRINT, 0, 0, 0, NULL},
+#ifdef USE_LIBAVCODEC
 	{"pp", readPPOpt, CONF_TYPE_FUNC_PARAM, 0, 0, 0, (cfg_default_func_t)&revertPPOpt},
+#endif
 #ifdef HAVE_ODIVX_POSTPROCESS
         {"oldpp", &use_old_pp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
 #else
         {"oldpp", "MPlayer was compiled without opendivx library\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 #endif
 	{"npp", "-npp has been removed, use -vop pp and read the fine manual\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
+#ifdef USE_LIBAVCODEC
         {"pphelp", &pp_help, CONF_TYPE_PRINT_INDIRECT, CONF_NOCFG, 0, 0, NULL},
+#endif
 
 	{"vop", &vo_plugin_args, CONF_TYPE_STRING_LIST, 0, 0, 0, NULL},
 
--- a/libmpcodecs/vf.c	Wed Mar 05 09:27:19 2003 +0000
+++ b/libmpcodecs/vf.c	Wed Mar 05 10:20:14 2003 +0000
@@ -68,7 +68,9 @@
     &vf_info_bmovl,
     &vf_info_crop,
     &vf_info_expand,
+#ifdef USE_LIBAVCODEC
     &vf_info_pp,
+#endif
     &vf_info_scale,
 //    &vf_info_osd,
     &vf_info_vo,