diff options
author | root <root@rshg054.dnsready.net> | 2012-10-08 00:19:21 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-10-08 00:19:21 -0700 |
commit | 962d1e81a62d7259ccb686da1a44de2bb28e73a5 (patch) | |
tree | 49f656c84d602182eb10aff70c8e0cd4d202f15d /testing/smpeg/smpeg-0.4.4-gcc41.patch | |
parent | 682e4a12f537d598cb116ba394ceeae1eafc281e (diff) |
Mon Oct 8 00:19:21 PDT 2012
Diffstat (limited to 'testing/smpeg/smpeg-0.4.4-gcc41.patch')
-rw-r--r-- | testing/smpeg/smpeg-0.4.4-gcc41.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/smpeg/smpeg-0.4.4-gcc41.patch b/testing/smpeg/smpeg-0.4.4-gcc41.patch new file mode 100644 index 000000000..4a0eeb453 --- /dev/null +++ b/testing/smpeg/smpeg-0.4.4-gcc41.patch @@ -0,0 +1,41 @@ +Index: MPEGaudio.h +=================================================================== +RCS file: /cvs/cvsroot/smpeg/MPEGaudio.h,v +retrieving revision 1.23 +diff -u -p -r1.23 MPEGaudio.h +--- smpeg/MPEGaudio.h 17 Jul 2001 19:52:24 -0000 1.23 ++++ smpeg/MPEGaudio.h 6 Dec 2005 06:10:43 -0000 +@@ -151,12 +151,6 @@ private: + /* The actual MPEG audio class */ + class MPEGaudio : public MPEGerror, public MPEGaudioaction { + +- friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len); +- friend int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len); +-#ifdef THREADED_AUDIO +- friend int Decode_MPEGaudio(void *udata); +-#endif +- + public: + MPEGaudio(MPEGstream *stream, bool initSDL = true); + virtual ~MPEGaudio(); +@@ -367,6 +361,20 @@ public: + #define N_TIMESTAMPS 5 + + double timestamp[N_TIMESTAMPS]; ++ ++ /* Functions which access MPEGaudio internals */ ++ friend void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len); ++ friend int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len); ++#ifdef THREADED_AUDIO ++ friend int Decode_MPEGaudio(void *udata); ++#endif + }; + ++/* Need to duplicate the prototypes, this is not a typo :) */ ++void Play_MPEGaudioSDL(void *udata, Uint8 *stream, int len); ++int Play_MPEGaudio(MPEGaudio *audio, Uint8 *stream, int len); ++#ifdef THREADED_AUDIO ++int Decode_MPEGaudio(void *udata); ++#endif ++ + #endif /* _MPEGAUDIO_H_ */ |