--- branches/dev-api-4/xvidcore/src/xvid.c 2003/04/10 13:05:54 982 +++ branches/dev-api-4/xvidcore/src/xvid.c 2003/05/17 13:26:51 1031 @@ -17,7 +17,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: xvid.c,v 1.45.2.3 2003-04-10 13:05:54 edgomez Exp $ + * $Id: xvid.c,v 1.45.2.4 2003-05-17 13:26:42 suxen_drol Exp $ * ****************************************************************************/ @@ -45,6 +45,10 @@ #include "utils/timer.h" #include "bitstream/mbcoding.h" +#if defined(_DEBUG) +unsigned int xvid_debug = 0; /* xvid debug mask */ +#endif + #if defined(ARCH_IS_IA32) #if defined(_MSC_VER) @@ -532,7 +536,11 @@ } #endif - return 0; +#if defined(_DEBUG) + xvid_debug = init->debug; +#endif + + return 0; }