summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-content_media_nsAudioStream_cpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-10 21:51:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-10 21:51:18 +0200
commitfca24ce921dd23dcf3874fe1b0a7bb03e8ababf0 (patch)
treeb5098810965036f71913e5f53ae0fbb31dabdabb /package/firefox/patches/patch-content_media_nsAudioStream_cpp
parent863d37c1abd1706f4b1bf1249b87b08a112da670 (diff)
revert firefox and libpng updates, does not work
Diffstat (limited to 'package/firefox/patches/patch-content_media_nsAudioStream_cpp')
-rw-r--r--package/firefox/patches/patch-content_media_nsAudioStream_cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/firefox/patches/patch-content_media_nsAudioStream_cpp b/package/firefox/patches/patch-content_media_nsAudioStream_cpp
new file mode 100644
index 000000000..1452b9b6b
--- /dev/null
+++ b/package/firefox/patches/patch-content_media_nsAudioStream_cpp
@@ -0,0 +1,11 @@
+--- mozilla-1.9.2.orig/content/media/nsAudioStream.cpp 2010-04-02 18:02:19.000000000 +0200
++++ mozilla-1.9.2/content/media/nsAudioStream.cpp 2010-06-11 21:28:33.522214080 +0200
+@@ -246,7 +246,7 @@ float nsAudioStream::GetPosition()
+ #if defined(XP_WIN)
+ positionType = SA_POSITION_WRITE_HARDWARE;
+ #endif
+- PRInt64 position = 0;
++ int64_t position = 0;
+ if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
+ positionType, &position) == SA_SUCCESS) {
+ return (position / float(mRate) / mChannels / sizeof(short));