diff options
author | Stefan Eßer <se@FreeBSD.org> | 2007-07-17 06:27:12 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2007-07-17 06:27:12 +0000 |
commit | 8b8a92680a41b5e4cebb2df6cae6c9842d9480a9 (patch) | |
tree | 3742dae1dc29ee28fe3da82704ab012079b045ac /multimedia | |
parent | 2960e9f2b1eae94bdcd80801950e077cd05c0cad (diff) | |
download | ports-8b8a92680a41b5e4cebb2df6cae6c9842d9480a9.tar.gz ports-8b8a92680a41b5e4cebb2df6cae6c9842d9480a9.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/dvbcut/files/patch-avframe.h | 12 | ||||
-rw-r--r-- | multimedia/dvbcut/files/patch-lavfmuxer.cpp | 12 | ||||
-rw-r--r-- | multimedia/dvbcut/files/patch-main.cpp | 12 | ||||
-rw-r--r-- | multimedia/dvbcut/files/patch-mpgfile.h | 12 | ||||
-rw-r--r-- | multimedia/dvbcut/files/patch-playaudio.cpp | 14 | ||||
-rw-r--r-- | multimedia/dvbcut/files/patch-psfile.cpp | 14 | ||||
-rw-r--r-- | multimedia/dvbcut/files/patch-streamdata.h | 12 | ||||
-rw-r--r-- | multimedia/dvbcut/files/patch-tsfile.cpp | 14 |
8 files changed, 96 insertions, 6 deletions
diff --git a/multimedia/dvbcut/files/patch-avframe.h b/multimedia/dvbcut/files/patch-avframe.h new file mode 100644 index 000000000000..741cab157443 --- /dev/null +++ b/multimedia/dvbcut/files/patch-avframe.h @@ -0,0 +1,12 @@ +--- src/avframe.h~ 2007-04-13 19:36:27 +0200 ++++ src/avframe.h 2007-07-17 01:08:23 +0200 +@@ -19,7 +19,9 @@ + #ifndef _DVBCUT_AVFRAME_H + #define _DVBCUT_AVFRAME_H + ++extern "C" { + #include <ffmpeg/avcodec.h> ++} + + class QImage; + diff --git a/multimedia/dvbcut/files/patch-lavfmuxer.cpp b/multimedia/dvbcut/files/patch-lavfmuxer.cpp new file mode 100644 index 000000000000..172e07729906 --- /dev/null +++ b/multimedia/dvbcut/files/patch-lavfmuxer.cpp @@ -0,0 +1,12 @@ +--- src/lavfmuxer.cpp~ 2007-04-13 19:36:27.000000000 +0200 ++++ src/lavfmuxer.cpp 2007-07-17 01:09:12 +0200 +@@ -16,7 +16,9 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++extern "C" { + #include <ffmpeg/avformat.h> ++} + #include <string.h> + #include <utility> + #include <list> diff --git a/multimedia/dvbcut/files/patch-main.cpp b/multimedia/dvbcut/files/patch-main.cpp new file mode 100644 index 000000000000..24bd0ea00fdd --- /dev/null +++ b/multimedia/dvbcut/files/patch-main.cpp @@ -0,0 +1,12 @@ +--- src/main.cpp~ 2007-04-13 19:36:26 +0200 ++++ src/main.cpp 2007-07-17 01:10:36 +0200 +@@ -27,7 +27,9 @@ + #endif // HAVE_LIB_AO + + #include <qapplication.h> ++extern "C" { + #include <ffmpeg/avformat.h> ++} + #include <qimage.h> + #include <qsettings.h> + #include "dvbcut.h" diff --git a/multimedia/dvbcut/files/patch-mpgfile.h b/multimedia/dvbcut/files/patch-mpgfile.h new file mode 100644 index 000000000000..fcafb5abbfeb --- /dev/null +++ b/multimedia/dvbcut/files/patch-mpgfile.h @@ -0,0 +1,12 @@ +--- src/mpgfile.h~ 2007-04-13 19:36:27 +0200 ++++ src/mpgfile.h 2007-07-17 01:10:56 +0200 +@@ -19,7 +19,9 @@ + #ifndef _DVBCUT_MPGFILE_H + #define _DVBCUT_MPGFILE_H + ++extern "C" { + #include <ffmpeg/avcodec.h> ++} + #include <string> + #include <vector> + #include <list> diff --git a/multimedia/dvbcut/files/patch-playaudio.cpp b/multimedia/dvbcut/files/patch-playaudio.cpp index 50b2cf42c124..1ce899ad05e9 100644 --- a/multimedia/dvbcut/files/patch-playaudio.cpp +++ b/multimedia/dvbcut/files/patch-playaudio.cpp @@ -1,6 +1,16 @@ --- src/playaudio.cpp~ Fri Apr 13 19:36:27 2007 -+++ src/playaudio.cpp Sat Jun 2 20:51:00 2007 -@@ -38,7 +38,10 @@ ++++ src/playaudio.cpp 2007-07-17 01:11:15 +0200 +@@ -19,7 +19,9 @@ + #ifdef HAVE_LIB_AO + #include <stdio.h> + #include <ao/ao.h> ++extern "C" { + #include <ffmpeg/avcodec.h> ++} + #include "playaudio.h" + + #define MIN_BUFFER_SAMPLES (1536*6) +@@ -38,7 +40,10 @@ const uint8_t *d=(const uint8_t*)data; while (len>0) { diff --git a/multimedia/dvbcut/files/patch-psfile.cpp b/multimedia/dvbcut/files/patch-psfile.cpp index a4f3628a02ee..d4864d6b90a5 100644 --- a/multimedia/dvbcut/files/patch-psfile.cpp +++ b/multimedia/dvbcut/files/patch-psfile.cpp @@ -1,6 +1,16 @@ --- src/psfile.cpp~ Fri Apr 13 19:36:27 2007 -+++ src/psfile.cpp Tue May 1 21:45:19 2007 -@@ -100,7 +100,7 @@ ++++ src/psfile.cpp 2007-07-17 01:11:44 +0200 +@@ -19,7 +19,9 @@ + #include "psfile.h" + #include "streamhandle.h" + #include "stream.h" ++extern "C" { + #include <ffmpeg/avcodec.h> ++} + + psfile::psfile(const std::string &filename, inbuffer &b, int initial_offset) + : mpgfile(filename, b, initial_offset) +@@ -100,7 +102,7 @@ streamnumber[sid]=audiostream(audiostreams); stream *S=&s[audiostream(audiostreams++)]; S->id=sid; diff --git a/multimedia/dvbcut/files/patch-streamdata.h b/multimedia/dvbcut/files/patch-streamdata.h new file mode 100644 index 000000000000..faf4439f626a --- /dev/null +++ b/multimedia/dvbcut/files/patch-streamdata.h @@ -0,0 +1,12 @@ +--- src/streamdata.h~ 2007-04-13 19:36:27 +0200 ++++ src/streamdata.h 2007-07-17 01:12:01 +0200 +@@ -21,7 +21,9 @@ + + #include <string> + #include <list> ++extern "C" { + #include <ffmpeg/avformat.h> ++} + + #include "port.h" + #include "tsfile.h" diff --git a/multimedia/dvbcut/files/patch-tsfile.cpp b/multimedia/dvbcut/files/patch-tsfile.cpp index 203b7bd3c1f3..7f1366908076 100644 --- a/multimedia/dvbcut/files/patch-tsfile.cpp +++ b/multimedia/dvbcut/files/patch-tsfile.cpp @@ -1,6 +1,16 @@ --- src/tsfile.cpp~ Fri Apr 13 19:36:27 2007 -+++ src/tsfile.cpp Tue May 1 21:45:36 2007 -@@ -78,7 +78,7 @@ ++++ src/tsfile.cpp 2007-07-17 01:12:25 +0200 +@@ -22,7 +22,9 @@ + #include <list> + #include <utility> + ++extern "C" { + #include <ffmpeg/avcodec.h> ++} + + tsfile::tsfile(const std::string &filename, inbuffer &b, int initial_offset) + : mpgfile(filename, b, initial_offset) +@@ -78,7 +80,7 @@ stream *S=&s[audiostream(audiostreams++)]; S->id=it->second; if (it->first==0xbd) { |