[webkit-changes] [WebKit/WebKit] 4df590: Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in Aud...

Jean-Yves Avenard noreply at github.com
Wed Jan 22 15:07:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4df5903023722289f83ac5da3bf192dca3aa1c5c
      https://github.com/WebKit/WebKit/commit/4df5903023722289f83ac5da3bf192dca3aa1c5c
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2025-01-22 (Wed, 22 Jan 2025)

  Changed paths:
    M Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.mm

  Log Message:
  -----------
  Reduce use of WTF_ALLOW_UNSAFE_BUFFER_USAGE in AudioSampleBufferConverter
https://bugs.webkit.org/show_bug.cgi?id=286345
rdar://143378500

Reviewed by Youenn Fablet.

Fly-By: Reset AudioBufferList's pointer indices within the loop to ensure
proper pointer calculations should the packet contain more than 2048 frames.

* Source/WebCore/platform/audio/cocoa/AudioSampleBufferConverter.mm:
(WebCore::AudioSampleBufferConverter::processSampleBuffers):

Canonical link: https://commits.webkit.org/289260@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list