From 9aa577b7700b60d000483b0551a9f53b8e937212 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Wed, 30 Mar 2011 02:48:41 -0500 Subject: testing/gnash: new aport --- testing/gnash/gnash-ffmpeg.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 testing/gnash/gnash-ffmpeg.patch (limited to 'testing/gnash/gnash-ffmpeg.patch') diff --git a/testing/gnash/gnash-ffmpeg.patch b/testing/gnash/gnash-ffmpeg.patch new file mode 100644 index 000000000..dc78e81c5 --- /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(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(); -- cgit v1.2.3