[MPlayer-cvslog] r22019 - in trunk/loader: dmo/DMO_AudioDecoder.c dmo/DMO_VideoDecoder.c dshow/DS_AudioDecoder.c dshow/DS_VideoDecoder.c

gpoirier subversion at mplayerhq.hu
Fri Jan 26 10:21:23 CET 2007


Author: gpoirier
Date: Fri Jan 26 10:21:22 2007
New Revision: 22019

Modified:
   trunk/loader/dmo/DMO_AudioDecoder.c
   trunk/loader/dmo/DMO_VideoDecoder.c
   trunk/loader/dshow/DS_AudioDecoder.c
   trunk/loader/dshow/DS_VideoDecoder.c

Log:
Remove illegal definition of underscored-prefixed symbol "__MODULE__":
All underscored-prefixed symbols have the right re-defined by the compiler, so it's definitely not safe to use any.
ICC doesn't seem to like it, GCC doesn't seem to care.


Modified: trunk/loader/dmo/DMO_AudioDecoder.c
==============================================================================
--- trunk/loader/dmo/DMO_AudioDecoder.c	(original)
+++ trunk/loader/dmo/DMO_AudioDecoder.c	Fri Jan 26 10:21:22 2007
@@ -35,8 +35,6 @@
 
 #include "../../mp_msg.h"
 
-#define __MODULE__ "DirectShow audio decoder"
-
 typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
 extern void print_wave_header(WAVEFORMATEX *h, int verbose_level);
 

Modified: trunk/loader/dmo/DMO_VideoDecoder.c
==============================================================================
--- trunk/loader/dmo/DMO_VideoDecoder.c	(original)
+++ trunk/loader/dmo/DMO_VideoDecoder.c	Fri Jan 26 10:21:22 2007
@@ -58,8 +58,6 @@
 // strcmp((const char*)info.dll,...)  is used instead of  (... == ...)
 // so Arpi could use char* pointer in his simplified DMO_VideoDecoder class
 
-#define __MODULE__ "DirectShow_VideoDecoder"
-
 #define false 0
 #define true 1
 

Modified: trunk/loader/dshow/DS_AudioDecoder.c
==============================================================================
--- trunk/loader/dshow/DS_AudioDecoder.c	(original)
+++ trunk/loader/dshow/DS_AudioDecoder.c	Fri Jan 26 10:21:22 2007
@@ -33,8 +33,6 @@
 #include <stdio.h>
 #include <stdlib.h>
 
-#define __MODULE__ "DirectShow audio decoder"
-
 typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
 
 DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf)

Modified: trunk/loader/dshow/DS_VideoDecoder.c
==============================================================================
--- trunk/loader/dshow/DS_VideoDecoder.c	(original)
+++ trunk/loader/dshow/DS_VideoDecoder.c	Fri Jan 26 10:21:22 2007
@@ -58,8 +58,6 @@
 // strcmp((const char*)info.dll,...)  is used instead of  (... == ...)
 // so Arpi could use char* pointer in his simplified DS_VideoDecoder class
 
-#define __MODULE__ "DirectShow_VideoDecoder"
-
 #define false 0
 #define true 1
 



More information about the MPlayer-cvslog mailing list