summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-content_media_nsAudioStream_cpp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-11 23:25:55 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-11 23:25:55 +0200
commitefd988a93f437b050627727fd1bd9041764b2de7 (patch)
tree1d91d51ce8fb775732b18193c8a495d332e29e7b /package/firefox/patches/patch-content_media_nsAudioStream_cpp
parent1ed6f2b800832dceb40515f22c11ae33936c3b94 (diff)
parent7f8bec5a9a9b9188ab7d8cbbec5f93343d7089a0 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
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));