Bug 227382

Summary: SourceBufferParserWebM::StreamingVectorReader returns an incorrect value for numActuallyRead
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar, Regression
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 218908    

Description Jean-Yves Avenard [:jya] 2021-06-24 17:45:01 PDT
In SourceBufferParserWebM::StreamingVectorReader::Read the number of bytes actually read should be returned to the caller via the out parameter numActuallyRead.

However, this only returns the number of bytes read on currentSegment ; it's not incremented after each loop.
Comment 1 Radar WebKit Bug Importer 2021-06-24 17:45:39 PDT
<rdar://problem/79750832>
Comment 2 Jean-Yves Avenard [:jya] 2021-06-30 04:08:13 PDT
This will be resolved in 226069.

*** This bug has been marked as a duplicate of bug 226069 ***