mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 04:09:48 +00:00
147b0fe6c2
The AvBufferSource pointer gets converted into a Rust slice, so it is not valid to use a null pointer (even though the length is 0). Return a valid pointer derived from an empty slice instead. BUG=b:365852007 Change-Id: I12930c98241d2d711826c577ae23944ec8d5d93b Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6013082 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
ffmpeg | ||
libvda |