summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_xvid.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-13 16:29:32 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-08-13 16:29:32 +0000
commit2283b6305f9a9d0d287705348f8ee9d1333caa99 (patch)
tree22bcfcb52ed464003c938bedf2193f0681cdf78c /libmpcodecs/vd_xvid.c
parent7dadaf5e397fd9bbf7e813ee8226636b79eca78a (diff)
downloadmpv-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/vd_xvid.c')
-rw-r--r--libmpcodecs/vd_xvid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vd_xvid.c b/libmpcodecs/vd_xvid.c
index a79d0f6533..a3d64337f1 100644
--- a/libmpcodecs/vd_xvid.c
+++ b/libmpcodecs/vd_xvid.c
@@ -7,7 +7,7 @@
#ifdef HAVE_XVID
#include "vd_internal.h"
-#include "cfgparser.h"
+#include "m_option.h"
#include <xvid.h>
@@ -56,7 +56,7 @@ typedef struct {
static int do_dr2 = 0;
-struct config xvid_dec_opts[] = {
+m_option_t xvid_dec_opts[] = {
{ "dr2", &do_dr2, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{ "nodr2", &do_dr2, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{NULL, NULL, 0, 0, 0, 0, NULL}