| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hi, Frank. Can you review //media/formats/mp4?
also //media/filters.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Looks good in general. TY for the cleanups!
const uint8_t* raw_data() const { return buffer_.data(); }I think there are relatively few uses of this field, all of which are used to create a span. Could you switch the `raw_data()` usage to `data()` too? This would be fine as a small follow up too.
base::span(stream->raw_data(), stream->buffer_size());Use `stream->data()` directly.
base::span(buf).copy_from_nonoverlapping(data);You can also use `buf.assign(data.begin(), data.end())` here.
#include "base/compiler_specific.h"Is this include necessary?
writer.WriteU32NativeEndian(params.sample_rate());[Per Spec](https://wiki.xiph.org/OggOpus#ID_Header), I think these should all be little endian.
writer.WriteU8NativeEndian(0);NIT: add `// Set channel mapping family (Mono or L/R Stereo).` comment above.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
const uint8_t* raw_data() const { return buffer_.data(); }I think there are relatively few uses of this field, all of which are used to create a span. Could you switch the `raw_data()` usage to `data()` too? This would be fine as a small follow up too.
Done
base::span(stream->raw_data(), stream->buffer_size());Weidong LiuUse `stream->data()` directly.
Done
You can also use `buf.assign(data.begin(), data.end())` here.
Done
#include "base/compiler_specific.h"Weidong LiuIs this include necessary?
`UNSAFE_TODO` is defined in this file. According to IWYU, this should be added.
[Per Spec](https://wiki.xiph.org/OggOpus#ID_Header), I think these should all be little endian.
Done
NIT: add `// Set channel mapping family (Mono or L/R Stereo).` comment above.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
chromeos/ash/services/recording/webm_encoder_muxer.cc LGTM
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM, thanks for the cleanups!
#include "base/compiler_specific.h"Weidong LiuIs this include necessary?
`UNSAFE_TODO` is defined in this file. According to IWYU, this should be added.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
Rebase because of conflicts.
Thanks for your review. Commit it now.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
6 is the latest approved patch-set.
The change was submitted with unreviewed changes in the following files:
```
The name of the file: media/muxers/memory_webm_muxer_delegate.cc
Insertions: 7, Deletions: 2.
The diff is too large to show. Please review the diff.
```
Eliminate allow_unsafe_buffers in //media/muxers.
The purpose of this CL is to eliminate the unsafe buffer calls in
//media/muxers. Because it involves some functions in other folders.
For this purpose, the ReadTopLevelBox/StartTopLevelBox methods of
BoxReader and their callers are modified.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |