mirror of https://github.com/mpv-player/mpv
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. Original thread: date: Jan 25, 2007 2:41 PM subject: [MPlayer-dev-eng] [PATCH] remove illegal underscored-prefixed symbols AND date: 01/25/2007 11:43 AM subject: Re: [MPlayer-dev-eng] [PATCH] compiling with Intel C git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22019 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
80c237677f
commit
b74e51f49c
|
@ -35,8 +35,6 @@ struct _DMO_AudioDecoder
|
||||||
|
|
||||||
#include "../../mp_msg.h"
|
#include "../../mp_msg.h"
|
||||||
|
|
||||||
#define __MODULE__ "DirectShow audio decoder"
|
|
||||||
|
|
||||||
typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
|
typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
|
||||||
extern void print_wave_header(WAVEFORMATEX *h, int verbose_level);
|
extern void print_wave_header(WAVEFORMATEX *h, int verbose_level);
|
||||||
|
|
||||||
|
|
|
@ -58,8 +58,6 @@ struct _DMO_VideoDecoder
|
||||||
// strcmp((const char*)info.dll,...) is used instead of (... == ...)
|
// strcmp((const char*)info.dll,...) is used instead of (... == ...)
|
||||||
// so Arpi could use char* pointer in his simplified DMO_VideoDecoder class
|
// so Arpi could use char* pointer in his simplified DMO_VideoDecoder class
|
||||||
|
|
||||||
#define __MODULE__ "DirectShow_VideoDecoder"
|
|
||||||
|
|
||||||
#define false 0
|
#define false 0
|
||||||
#define true 1
|
#define true 1
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,6 @@ struct _DS_AudioDecoder
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#define __MODULE__ "DirectShow audio decoder"
|
|
||||||
|
|
||||||
typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
|
typedef long STDCALL (*GETCLASS) (GUID*, GUID*, void**);
|
||||||
|
|
||||||
DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf)
|
DS_AudioDecoder * DS_AudioDecoder_Open(char* dllname, GUID* guid, WAVEFORMATEX* wf)
|
||||||
|
|
|
@ -58,8 +58,6 @@ struct _DS_VideoDecoder
|
||||||
// strcmp((const char*)info.dll,...) is used instead of (... == ...)
|
// strcmp((const char*)info.dll,...) is used instead of (... == ...)
|
||||||
// so Arpi could use char* pointer in his simplified DS_VideoDecoder class
|
// so Arpi could use char* pointer in his simplified DS_VideoDecoder class
|
||||||
|
|
||||||
#define __MODULE__ "DirectShow_VideoDecoder"
|
|
||||||
|
|
||||||
#define false 0
|
#define false 0
|
||||||
#define true 1
|
#define true 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue