aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnash/gnash-ffmpeg.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-03-30 02:48:41 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-03-30 02:49:11 -0500
commit9aa577b7700b60d000483b0551a9f53b8e937212 (patch)
treee131baca374fa56e9e546835ba3653e7ae34c3dd /testing/gnash/gnash-ffmpeg.patch
parent6185e1ece14658b5d6ca7ac80a5567eed10565ae (diff)
downloadaports-9aa577b7700b60d000483b0551a9f53b8e937212.tar.bz2
aports-9aa577b7700b60d000483b0551a9f53b8e937212.tar.xz
testing/gnash: new aport
Diffstat (limited to 'testing/gnash/gnash-ffmpeg.patch')
-rw-r--r--testing/gnash/gnash-ffmpeg.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/gnash/gnash-ffmpeg.patch b/testing/gnash/gnash-ffmpeg.patch
new file mode 100644
index 0000000000..dc78e81c59
--- /dev/null
+++ b/testing/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();