Bug 227382 - SourceBufferParserWebM::StreamingVectorReader returns an incorrect value for numActuallyRead
Summary: SourceBufferParserWebM::StreamingVectorReader returns an incorrect value for ...
Status: RESOLVED DUPLICATE of bug 226069
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar, Regression
Depends on:
Blocks: 218908
  Show dependency treegraph
 
Reported: 2021-06-24 17:45 PDT by Jean-Yves Avenard [:jya]
Modified: 2021-06-30 04:08 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***