ladybird/Userland/Libraries/LibVideo
Lucas CHOLLET 18b7ddd0b5 AK: Rename the const overload of FixedMemoryStream::bytes()
Due to overload resolutions rules, this simple code provokes a crash:

ReadonlyBytes readonly_bytes{};
FixedMemoryStream stream{readonly_bytes};
ReadonlyBytes give_them_back{stream.bytes()};
    // -> Panics on VERIFY(m_writing_enabled);
    // but this is fine:
auto bytes = static_cast<FixedMemoryStream const&>(*stream).bytes()

If we need to be explicit about it, let's rename the overload instead of
adding that `static_cast`.
2023-07-27 14:40:00 +01:00
..
Color Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Containers LibVideo/Matroska: Don't choke on files containing CRC32 elements 2023-06-25 20:27:02 -04:00
VP9 AK: Rename the const overload of FixedMemoryStream::bytes() 2023-07-27 14:40:00 +01:00
CMakeLists.txt LibGfx+LibVideo: Move VP9/BooleanDecoder to LibGfx/ImageFormats 2023-05-27 05:47:42 +02:00
DecoderError.h LibVideo: Add a forwarding header 2023-04-09 23:55:05 +02:00
Forward.h LibVideo: Add a forwarding header 2023-04-09 23:55:05 +02:00
PlaybackManager.cpp Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
PlaybackManager.h Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Sample.h AK: Rename Time to Duration 2023-05-24 23:18:07 +02:00
Track.h AK: Rename Time to Duration 2023-05-24 23:18:07 +02:00
VideoDecoder.h LibVideo: Change all Span<u8 const> to ReadonlyBytes 2022-11-12 10:17:27 -07:00
VideoFrame.cpp LibVideo: Fast-path converting colors by only matrix coefficients 2023-04-25 17:44:36 -04:00
VideoFrame.h LibVideo: Convert subsampled frames in a vectorization-friendly way 2023-04-25 17:44:36 -04:00