patch-content_media_nsAudioStream_cpp 540 B

1234567891011
  1. --- mozilla-2.0.orig/content/media/nsAudioStream.cpp 2011-03-19 00:33:34.000000000 +0100
  2. +++ mozilla-2.0/content/media/nsAudioStream.cpp 2011-04-23 23:18:01.000000000 +0200
  3. @@ -570,7 +570,7 @@ PRInt64 nsAudioStreamLocal::GetSampleOff
  4. #if defined(XP_WIN)
  5. positionType = SA_POSITION_WRITE_HARDWARE;
  6. #endif
  7. - PRInt64 position = 0;
  8. + int64_t position = 0;
  9. if (sa_stream_get_position(static_cast<sa_stream_t*>(mAudioHandle),
  10. positionType, &position) == SA_SUCCESS) {
  11. return position / sizeof(short);