diff libmpcodecs/vd_odivx.c @ 4997:5efa42dd4cd8

divx5 support into libmpcodecs (untested)
author atmos4
date Sat, 09 Mar 2002 00:57:05 +0000
parents eb57973314ae
children 88481d4b9e0e
line wrap: on
line diff
--- a/libmpcodecs/vd_odivx.c	Sat Mar 09 00:17:50 2002 +0000
+++ b/libmpcodecs/vd_odivx.c	Sat Mar 09 00:57:05 2002 +0000
@@ -104,6 +104,10 @@
 #else
     dec_param.color_depth = 32;
 #endif
+#ifdef DECORE_DIVX5
+    dec_param.codec_version = (sh->format==mmioFOURCC('D','I','V','3'))?311:500;
+    dec_param.build_number = 0;
+#endif
     dec_param.x_dim = sh->disp_w;
     dec_param.y_dim = sh->disp_h;
     decore(0x123, DEC_OPT_INIT, &dec_param, NULL);