smpeg ported from pisi 1.2
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
--- plaympeg.c 2008-12-23 13:36:59.000000000 +0100
|
||||
+++ plaympeg.c.oden 2008-12-23 13:36:51.000000000 +0100
|
||||
@@ -262,7 +262,7 @@ int ftp_get_reply(int tcp_sock)
|
||||
answer[i] = c;
|
||||
}
|
||||
answer[i] = 0;
|
||||
- fprintf(stderr, answer + 4);
|
||||
+ fprintf(stderr, "%s", answer + 4);
|
||||
}
|
||||
while(answer[3] == '-');
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
--- smpeg-0.4.5/MPEGaudio.h.orig 2006-05-01 06:18:36.000000000 +0300
|
||||
+++ smpeg-0.4.5/MPEGaudio.h 2011-02-05 18:55:15.573765022 +0200
|
||||
@@ -153,6 +153,13 @@
|
||||
};
|
||||
|
||||
/* The actual MPEG audio class */
|
||||
+class MPEGaudio;
|
||||
+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
|
||||
+
|
||||
class MPEGaudio : public MPEGerror, public MPEGaudioaction {
|
||||
|
||||
public:
|
||||
@@ -0,0 +1,16 @@
|
||||
--- smpeg-0.4.5/Makefile.am.libsupc++ 2006-05-01 04:56:06.000000000 +0300
|
||||
+++ smpeg-0.4.5/Makefile.am 2011-02-05 19:15:59.707558762 +0200
|
||||
@@ -64,6 +64,13 @@
|
||||
-release $(LT_RELEASE) \
|
||||
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
|
||||
|
||||
+# (gb) hackish to force link with gcc so that we don't get a
|
||||
+# dependence on libstdc++.so.*. Do add necessary supc++ hereunder.
|
||||
+CXXLD = $(CC)
|
||||
+
|
||||
+libsmpeg_la_LIBADD = \
|
||||
+ -lsupc++ -lgcc_s
|
||||
+
|
||||
EXTRA_DIST = \
|
||||
CHANGES \
|
||||
COPYING \
|
||||
@@ -0,0 +1,11 @@
|
||||
--- Makefile.am~ 2012-10-14 17:50:31.000000000 +0800
|
||||
+++ Makefile.am 2012-10-14 18:22:05.000000000 +0800
|
||||
@@ -119,7 +119,7 @@
|
||||
|
||||
# Sources for gtv
|
||||
gtv_SOURCES = gtv.c gtv.h
|
||||
-gtv_LDADD = @GTK_LIBS@ libsmpeg.la
|
||||
+gtv_LDADD = @GTK_LIBS@ libsmpeg.la -lX11
|
||||
|
||||
# Sources for glmovie
|
||||
glmovie_SOURCES = glmovie-tile.c glmovie.c glmovie.h
|
||||
Reference in New Issue
Block a user