changeset 5037:0ef48d850bc9

hopefully fixed divx5 header + xvid conflict
author arpi
date Mon, 11 Mar 2002 00:39:40 +0000
parents 021a0b7bd55f
children 09f8dcbfa731
files libmpcodecs/vd_divx4.c libmpcodecs/vd_odivx.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_divx4.c	Mon Mar 11 00:13:26 2002 +0000
+++ b/libmpcodecs/vd_divx4.c	Mon Mar 11 00:39:40 2002 +0000
@@ -132,7 +132,7 @@
     dec_frame.bmp=mpi->planes[0];
     dec_frame.stride=mpi->width;
     
-#ifdef DECORE_DIVX5
+#ifndef DEC_OPT_FRAME_311
     decore(0x123, DEC_OPT_FRAME, &dec_frame, NULL);
 #else
     decore(0x123, (sh->format==mmioFOURCC('D','I','V','3'))?DEC_OPT_FRAME_311:DEC_OPT_FRAME, &dec_frame, NULL);
--- a/libmpcodecs/vd_odivx.c	Mon Mar 11 00:13:26 2002 +0000
+++ b/libmpcodecs/vd_odivx.c	Mon Mar 11 00:39:40 2002 +0000
@@ -146,7 +146,7 @@
 #ifdef NEW_DECORE
     dec_frame.bmp=&dec_pic;
     dec_pic.y=dec_pic.u=dec_pic.v=NULL;
-#ifdef DECORE_DIVX5
+#ifndef DEC_OPT_FRAME_311
     decore(0x123, DEC_OPT_FRAME, &dec_frame, NULL);
 #else
     decore(0x123, (sh->format==mmioFOURCC('D','I','V','3'))?DEC_OPT_FRAME_311:DEC_OPT_FRAME, &dec_frame, NULL);