[Mplayerxp-cvslog] SF.net SVN: mplayerxp:[113] mplayerxp
Brought to you by:
olov
From: <nic...@us...> - 2010-01-19 18:20:16
|
Revision: 113 http://mplayerxp.svn.sourceforge.net/mplayerxp/?rev=113&view=rev Author: nickols_k Date: 2010-01-19 18:20:08 +0000 (Tue, 19 Jan 2010) Log Message: ----------- minor speedup due eliminating of debug-depended printfs from RELEASE compilation Modified Paths: -------------- mplayerxp/__mp_msg.h mplayerxp/codec-cfg.c mplayerxp/configure mplayerxp/input/in_msg.h mplayerxp/libao2/ao_msg.h mplayerxp/libmpcodecs/ad_msg.h mplayerxp/libmpcodecs/vd_msg.h mplayerxp/libmpdemux/demux_msg.h mplayerxp/libvo/vo_msg.h mplayerxp/nls/nls_msg.h mplayerxp/osdep/osdep_msg.h mplayerxp/postproc/pp_msg.h mplayerxp/subopt-helper.c Modified: mplayerxp/__mp_msg.h =================================================================== --- mplayerxp/__mp_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/__mp_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -19,7 +19,7 @@ #define MSG_OK(args...) mp_msg(MSGT_CLASS,MSGL_OK,__FILE__,__LINE__,##args ) #define MSG_HINT(args...) mp_msg(MSGT_CLASS,MSGL_HINT,__FILE__,__LINE__,##args ) #define MSG_STATUS(args...) mp_msg(MSGT_CLASS,MSGL_STATUS,__FILE__,__LINE__,##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_CLASS,MSGL_DBG2,__FILE__,__LINE__,##args ) #define MSG_DBG3(args...) mp_msg(MSGT_CLASS,MSGL_DBG3,__FILE__,__LINE__,##args ) #else Modified: mplayerxp/codec-cfg.c =================================================================== --- mplayerxp/codec-cfg.c 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/codec-cfg.c 2010-01-19 18:20:08 UTC (rev 113) @@ -9,11 +9,6 @@ * TODO: implement informat in CODECS2HTML too */ -#define DEBUG - -//disable asserts -#define NDEBUG - #include <stdio.h> #include <stdlib.h> #include <fcntl.h> Modified: mplayerxp/configure =================================================================== --- mplayerxp/configure 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/configure 2010-01-19 18:20:08 UTC (rev 113) @@ -758,7 +758,7 @@ # (FIXME: 'echocheck "dynamic linking"' above and modify here accordingly) bsd && add_ldflags "-rdynamic" -test "$debug" && def_debug='#define MP_DEBUG 1' || def_debug='#undef MP_DEBUG' +test "$debug" != "0" && def_debug='#define MP_DEBUG 1' || def_debug='#undef MP_DEBUG' # Checking for VIDIX enabled vidix && require2 vidix vidix/vidixlib.h vdlAllocFourccS -lvidix Modified: mplayerxp/input/in_msg.h =================================================================== --- mplayerxp/input/in_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/input/in_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -18,7 +18,7 @@ #define MSG_V(args...) mp_msg(MSGT_INPUT,MSGL_V,__FILE__,__LINE__, ##args ) #define MSG_OK(args...) mp_msg(MSGT_INPUT,MSGL_OK,__FILE__,__LINE__, ##args ) #define MSG_HINT(args...) mp_msg(MSGT_INPUT,MSGL_HINT,__FILE__,__LINE__, ##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_INPUT,MSGL_DBG2,__FILE__,__LINE__, ##args ) #define MSG_DBG3(args...) mp_msg(MSGT_INPUT,MSGL_DBG3,__FILE__,__LINE__, ##args ) #else Modified: mplayerxp/libao2/ao_msg.h =================================================================== --- mplayerxp/libao2/ao_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/libao2/ao_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -18,7 +18,7 @@ #define MSG_V(args...) mp_msg(MSGT_AO,MSGL_V,__FILE__,__LINE__, ##args ) #define MSG_OK(args...) mp_msg(MSGT_AO,MSGL_OK,__FILE__,__LINE__, ##args ) #define MSG_HINT(args...) mp_msg(MSGT_AO,MSGL_HINT,__FILE__,__LINE__, ##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_AO,MSGL_DBG2,__FILE__,__LINE__, ##args ) #define MSG_DBG3(args...) mp_msg(MSGT_AO,MSGL_DBG3,__FILE__,__LINE__, ##args ) #else Modified: mplayerxp/libmpcodecs/ad_msg.h =================================================================== --- mplayerxp/libmpcodecs/ad_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/libmpcodecs/ad_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -16,7 +16,7 @@ #define MSG_V(args...) mp_msg(MSGT_DECAUDIO,MSGL_V,__FILE__,__LINE__, ##args ) #define MSG_OK(args...) mp_msg(MSGT_DECAUDIO,MSGL_OK,__FILE__,__LINE__, ##args ) #define MSG_HINT(args...) mp_msg(MSGT_DECAUDIO,MSGL_HINT,__FILE__,__LINE__, ##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_DECAUDIO,MSGL_DBG2,__FILE__,__LINE__, ##args ) #define MSG_DBG3(args...) mp_msg(MSGT_DECAUDIO,MSGL_DBG3,__FILE__,__LINE__, ##args ) #else Modified: mplayerxp/libmpcodecs/vd_msg.h =================================================================== --- mplayerxp/libmpcodecs/vd_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/libmpcodecs/vd_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -16,7 +16,7 @@ #define MSG_V(args...) mp_msg(MSGT_DECVIDEO,MSGL_V,__FILE__,__LINE__, ##args ) #define MSG_OK(args...) mp_msg(MSGT_DECVIDEO,MSGL_OK,__FILE__,__LINE__, ##args ) #define MSG_HINT(args...) mp_msg(MSGT_DECVIDEO,MSGL_HINT,__FILE__,__LINE__, ##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_DECVIDEO,MSGL_DBG2,__FILE__,__LINE__, ##args ) #define MSG_DBG3(args...) mp_msg(MSGT_DECVIDEO,MSGL_DBG3,__FILE__,__LINE__, ##args ) #else Modified: mplayerxp/libmpdemux/demux_msg.h =================================================================== --- mplayerxp/libmpdemux/demux_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/libmpdemux/demux_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -19,7 +19,7 @@ #define MSG_OK(args...) mp_msg(MSGT_DEMUXER,MSGL_OK,__FILE__,__LINE__,##args ) #define MSG_HINT(args...) mp_msg(MSGT_DEMUXER,MSGL_HINT,__FILE__,__LINE__,##args ) #define MSG_STATUS(args...) mp_msg(MSGT_DEMUXER,MSGL_STATUS,__FILE__,__LINE__,##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_DEMUXER,MSGL_DBG2,__FILE__,__LINE__,##args ) #define MSG_DBG3(args...) mp_msg(MSGT_DEMUXER,MSGL_DBG3,__FILE__,__LINE__,##args ) #else Modified: mplayerxp/libvo/vo_msg.h =================================================================== --- mplayerxp/libvo/vo_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/libvo/vo_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -18,7 +18,7 @@ #define MSG_V(args...) mp_msg(MSGT_VO,MSGL_V,__FILE__,__LINE__, ##args ) #define MSG_OK(args...) mp_msg(MSGT_VO,MSGL_OK,__FILE__,__LINE__, ##args ) #define MSG_HINT(args...) mp_msg(MSGT_VO,MSGL_HINT,__FILE__,__LINE__, ##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_VO,MSGL_DBG2,__FILE__,__LINE__, ##args ) #define MSG_DBG3(args...) mp_msg(MSGT_VO,MSGL_DBG3,__FILE__,__LINE__, ##args ) #else Modified: mplayerxp/nls/nls_msg.h =================================================================== --- mplayerxp/nls/nls_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/nls/nls_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -19,7 +19,7 @@ #define MSG_OK(args...) mp_msg(MSGT_NLS,MSGL_OK,__FILE__,__LINE__,##args ) #define MSG_HINT(args...) mp_msg(MSGT_NLS,MSGL_HINT,__FILE__,__LINE__,##args ) #define MSG_STATUS(args...) mp_msg(MSGT_NLS,MSGL_STATUS,__FILE__,__LINE__,##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_NLS,MSGL_DBG2,__FILE__,__LINE__,##args ) #define MSG_DBG3(args...) mp_msg(MSGT_NLS,MSGL_DBG3,__FILE__,__LINE__,##args ) #else Modified: mplayerxp/osdep/osdep_msg.h =================================================================== --- mplayerxp/osdep/osdep_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/osdep/osdep_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -18,7 +18,7 @@ #define MSG_V(args...) mp_msg(MSGT_OSDEP,MSGL_V,__FILE__,__LINE__, ##args ) #define MSG_OK(args...) mp_msg(MSGT_OSDEP,MSGL_OK,__FILE__,__LINE__, ##args ) #define MSG_HINT(args...) mp_msg(MSGT_OSDEP,MSGL_HINT,__FILE__,__LINE__, ##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_OSDEP,MSGL_DBG2,__FILE__,__LINE__, ##args ) #define MSG_DBG3(args...) mp_msg(MSGT_OSDEP,MSGL_DBG3,__FILE__,__LINE__, ##args ) #else Modified: mplayerxp/postproc/pp_msg.h =================================================================== --- mplayerxp/postproc/pp_msg.h 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/postproc/pp_msg.h 2010-01-19 18:20:08 UTC (rev 113) @@ -18,7 +18,7 @@ #define MSG_V(args...) mp_msg(MSGT_PP,MSGL_V,__FILE__,__LINE__, ##args ) #define MSG_OK(args...) mp_msg(MSGT_PP,MSGL_OK,__FILE__,__LINE__, ##args ) #define MSG_HINT(args...) mp_msg(MSGT_PP,MSGL_HINT,__FILE__,__LINE__, ##args ) -#ifndef NDEBUG +#ifdef MP_DEBUG #define MSG_DBG2(args...) mp_msg(MSGT_PP,MSGL_DBG2,__FILE__,__LINE__, ##args ) #define MSG_DBG3(args...) mp_msg(MSGT_PP,MSGL_DBG3,__FILE__,__LINE__, ##args ) #else Modified: mplayerxp/subopt-helper.c =================================================================== --- mplayerxp/subopt-helper.c 2010-01-19 17:51:18 UTC (rev 112) +++ mplayerxp/subopt-helper.c 2010-01-19 18:20:08 UTC (rev 113) @@ -26,7 +26,7 @@ #include "__mp_msg.h" -#ifndef MPDEBUG +#ifndef MP_DEBUG #define NDEBUG #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |