summaryrefslogtreecommitdiffstats
path: root/unmaintained/gnash/gnash-ffmpeg.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-10-28 11:21:48 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2014-10-28 11:21:48 +0100
commit23754d079fff94526da91541fcddb1dca957b86f (patch)
tree2215c37da75a69a1aba4ff295ad6cbeeac51121b /unmaintained/gnash/gnash-ffmpeg.patch
parentc8a8139c03d98e688105a12448c9809af4ed472f (diff)
downloadaports-23754d079fff94526da91541fcddb1dca957b86f.tar.bz2
aports-23754d079fff94526da91541fcddb1dca957b86f.tar.xz
testing/gnash: unmaintained
Diffstat (limited to 'unmaintained/gnash/gnash-ffmpeg.patch')
-rw-r--r--unmaintained/gnash/gnash-ffmpeg.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/unmaintained/gnash/gnash-ffmpeg.patch b/unmaintained/gnash/gnash-ffmpeg.patch
new file mode 100644
index 000000000..dc78e81c5
--- /dev/null
+++ b/unmaintained/gnash/gnash-ffmpeg.patch
@@ -0,0 +1,24 @@
+--- gnash-0.8.9.orig/libmedia/ffmpeg/MediaParserFfmpeg.cpp
++++ gnash-0.8.9/libmedia/ffmpeg/MediaParserFfmpeg.cpp
+@@ -52,8 +52,8 @@
+ return p->readPacket(buf, buf_size);
+ }
+
+-boost::int64_t
+-MediaParserFfmpeg::seekMediaWrapper(void *opaque, boost::int64_t offset, int whence)
++::int64_t
++MediaParserFfmpeg::seekMediaWrapper(void *opaque, ::int64_t offset, int whence)
+ {
+ MediaParserFfmpeg* p = static_cast<MediaParserFfmpeg*>(opaque);
+ return p->seekMedia(offset, whence);
+--- gnash-0.8.9.orig/libmedia/ffmpeg/MediaParserFfmpeg.h
++++ gnash-0.8.9/libmedia/ffmpeg/MediaParserFfmpeg.h
+@@ -126,7 +126,7 @@
+ boost::int64_t seekMedia(boost::int64_t offset, int whence);
+
+ /// ffmpeg callback function
+- static boost::int64_t seekMediaWrapper(void *opaque, boost::int64_t offset, int whence);
++ static int64_t seekMediaWrapper(void *opaque, int64_t offset, int whence);
+
+ /// Read some of the input to figure an AVInputFormat
+ AVInputFormat* probeStream();