Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cab735b5e46d282a2b9314c8577b0c6029cb8b70
      
https://github.com/WebKit/WebKit/commit/cab735b5e46d282a2b9314c8577b0c6029cb8b70
  Author: Eric Carlson <[email protected]>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M 
Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm

  Log Message:
  -----------
  AudioSourceProviderAVFObjC should only allow callbacks to be set once
rdar://177358137

Reviewed by Jean-Yves Avenard

AudioSourceProviderAVFObjC::setAudioCallback() and 
AudioSourceProviderAVFObjC::setConfigureAudioStorageCallback
ASSERT(m_avAudioMix) in a debug build so enforce this condition in a release 
build by
returning early.

* Source/WebCore/platform/graphics/avfoundation/AudioSourceProviderAVFObjC.mm:
(WebCore::AudioSourceProviderAVFObjC::setAudioCallback):
(WebCore::AudioSourceProviderAVFObjC::setConfigureAudioStorageCallback):

Originally-landed-as: [email protected] (f84f369decbc). 
rdar://185534579
Canonical link: https://commits.webkit.org/320777@main



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

Reply via email to