summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd_xvid.c
diff options
context:
space:
mode:
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-02 20:31:47 +0000
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-02 20:31:47 +0000
commita039bd2d539df6d383342bf1f413d051d93b9e0e (patch)
tree8824459f3bbb8a63fcc724f8b94707c81981443a /libmpcodecs/vd_xvid.c
parent4a78d8d8cece93d1640413dda419eda5f5894edd (diff)
downloadmpv-a039bd2d539df6d383342bf1f413d051d93b9e0e.tar.bz2
mpv-a039bd2d539df6d383342bf1f413d051d93b9e0e.tar.xz
xvid fixes and more options by elcabesa & Martin Drab
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9804 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vd_xvid.c')
-rw-r--r--libmpcodecs/vd_xvid.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/libmpcodecs/vd_xvid.c b/libmpcodecs/vd_xvid.c
index 289c45cb55..a79d0f6533 100644
--- a/libmpcodecs/vd_xvid.c
+++ b/libmpcodecs/vd_xvid.c
@@ -11,16 +11,6 @@
#include <xvid.h>
-typedef struct
-{
- void *y;
- void *u;
- void *v;
- int stride_y;
- int stride_uv;
-}
-DIVX4_DEC_PICTURE;
-
#ifdef XVID_API_UNSTABLE
#warning *******************************************************************
#warning ** **
@@ -34,6 +24,18 @@ DIVX4_DEC_PICTURE;
#warning *******************************************************************
#endif
+typedef struct
+{
+ void *y;
+ void *u;
+ void *v;
+ int stride_y;
+ int stride_uv;
+}
+DIVX4_DEC_PICTURE;
+
+
+
static vd_info_t info =
{
"xvid decoder",
@@ -245,5 +247,4 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
return mpi;
}
-
-#endif
+#endif //have_xvid