[MPlayer-cvslog] r35991 - in trunk: Makefile codec-cfg.c

diego subversion at mplayerhq.hu
Sun Mar 17 23:20:46 CET 2013


Author: diego
Date: Sun Mar 17 23:20:46 2013
New Revision: 35991

Log:
build: Drop mp_msg dependencies for codec-cfg-test.

Modified:
   trunk/Makefile
   trunk/codec-cfg.c

Modified: trunk/Makefile
==============================================================================
--- trunk/Makefile	Sun Mar 17 23:20:42 2013	(r35990)
+++ trunk/Makefile	Sun Mar 17 23:20:46 2013	(r35991)
@@ -1009,7 +1009,7 @@ endif
 
 TEST_OBJS = mp_msg.o mp_fifo.o osdep/$(GETCH) osdep/$(TIMER) -ltermcap -lm
 
-codec-cfg-test$(EXESUF): codec-cfg.c codecs.conf.h help_mp.h $(TEST_OBJS)
+codec-cfg-test$(EXESUF): codec-cfg.c codecs.conf.h help_mp.h
 	$(CC) -I. -Iffmpeg -DTESTING -o $@ $^
 
 codecs2html$(EXESUF): codec-cfg.c help_mp.h

Modified: trunk/codec-cfg.c
==============================================================================
--- trunk/codec-cfg.c	Sun Mar 17 23:20:42 2013	(r35990)
+++ trunk/codec-cfg.c	Sun Mar 17 23:20:46 2013	(r35991)
@@ -43,7 +43,7 @@
 
 #include "config.h"
 #include "mp_msg.h"
-#ifdef CODECS2HTML
+#if defined(CODECS2HTML) || defined(TESTING)
 #ifdef __GNUC__
 #define mp_msg(t, l, m, args...) fprintf(stderr, m, ##args)
 #else


More information about the MPlayer-cvslog mailing list