diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-13 16:29:32 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-08-13 16:29:32 +0000 |
commit | 2283b6305f9a9d0d287705348f8ee9d1333caa99 (patch) | |
tree | 22bcfcb52ed464003c938bedf2193f0681cdf78c /libmpcodecs/ve_xvid.c | |
parent | 7dadaf5e397fd9bbf7e813ee8226636b79eca78a (diff) | |
download | mpv-2283b6305f9a9d0d287705348f8ee9d1333caa99.tar.bz2 mpv-2283b6305f9a9d0d287705348f8ee9d1333caa99.tar.xz |
Removed the historic cfgparser and switched full to the new config parser (altought some macros still remain for compatibility). As a side effect 90% of the warning messages are gone from the core. Things should be cleaner now and less confusing for newbies.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10595 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ve_xvid.c')
-rw-r--r-- | libmpcodecs/ve_xvid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/ve_xvid.c b/libmpcodecs/ve_xvid.c index c0c7bb1198..2b1d801321 100644 --- a/libmpcodecs/ve_xvid.c +++ b/libmpcodecs/ve_xvid.c @@ -28,7 +28,7 @@ #include <xvid.h> #include "xvid_vbr.h" -#include "cfgparser.h" +#include "m_option.h" #ifdef XVID_API_UNSTABLE @@ -110,7 +110,7 @@ static int xvidenc_psnr = 0; static uint64_t xvid_error[3]; #endif -struct config xvidencopts_conf[] = { +m_option_t xvidencopts_conf[] = { { "pass", &xvidenc_pass, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL}, { "me_quality", &xvidenc_quality, CONF_TYPE_INT, CONF_RANGE, 0, sizeof(motion_presets) / sizeof(motion_presets[0]) - 1, NULL}, |