Chromium Code Reviews
DescriptionFix int-overflow due to absent stream timestamp
crbug.com/665305 introduced some fixes for buffers with no timestamps.
However, if we did not receive a valid stream timestamp from the
demuxer, the first buffer that we output can still end up having no
timestamp (which eventually leads to an integer overflow in
VideoRendererAlgorithm).
This CL fixes the issue by reporting a demuxer error, rather than
emitting a buffer with no timestamp and relying on the decoder to error
out.
BUG=665305, 656763
TEST= fixes media_pipeline_integration_fuzzer. Ran ffmpeg_integration_tests as ASAN/MSAN/UBSAN. Ran Media UTs
Review-Url: https://codereview.chromium.org/2635573002
Cr-Commit-Position: refs/heads/master@{#443769}
Committed: https://chromium.googlesource.com/chromium/src/+/067e03ca0fc3a4f64fc5f324d665e5c10268cd14
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed comments #
Messages
Total messages: 13 (7 generated)
|
||||||||||||||||||||||||||||