Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d7a2a7053e05b629fe7271bf8566c19200aa0903
      
https://github.com/WebKit/WebKit/commit/d7a2a7053e05b629fe7271bf8566c19200aa0903
  Author: Chris Dumez <[email protected]>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M Source/WebCore/PAL/pal/spi/cocoa/MediaToolboxSPI.h
    M Source/WebKit/Shared/mac/MediaFormatReader/MediaFormatReader.cpp

  Log Message:
  -----------
  Fix bug in MediaFormatReader::copyTrackArray() found by new libcpp assertions
https://bugs.webkit.org/show_bug.cgi?id=251617
rdar://104967552

Reviewed by Andy Estes and Jer Noble.

Dont dereference `m_parseTracksStatus` if the action was aborted, since
m_parseTracksStatus will be std::nullopt in this case.

* Source/WebKit/Shared/mac/MediaFormatReader/MediaFormatReader.cpp:
(WebKit::MediaFormatReader::copyTrackArray):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to