- Jan 17, 2025
-
-
Steve Lhomme authored
Either it really should be zero and it's checked on reading via SkipZeroBuf(). Either the value is unknown and we just skip it via SkipBuf(). The field values are not actually set, so should not be used by anyone. We keep the for reference of the size and structures they correspond to.
-
Steve Lhomme authored
The PTT search table contains the TTU offset for each SRPT and then all the PGCN/PGN values. Each block of PGCN/PGN starts at each TTU offset in the read buffer.
-
Steve Lhomme authored
Not all C compilers support Variable Length Array.
-
Steve Lhomme authored
-
Steve Lhomme authored
This will avoid potential typos and make refactoring easier.
-
Steve Lhomme authored
We should not rely on the host compiler having a certain type of packing. Clang for Windows doesn't support the GCC struct packing. We should never read directly into structures.
-
Steve Lhomme authored
The structures are already read bit by bits.
-
Steve Lhomme authored
The compiler using the library may not support the proper packing (CLang for Windows doesn't support the GCC packing).
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
-
Steve Lhomme authored
For now only for the bits by bits reading.
-
Steve Lhomme authored
-
Steve Lhomme authored
This is the size that is supposed to match the low level format, not the structure size. The structures on the other hand should be allocated with their own size.
-
Steve Lhomme authored
-
- Oct 30, 2022
-
-
Vasyl Gello authored
After the split of libdvdcss from libdvdread, the stream callback code was moved to libdvdcss. This went largely unnoticed because most consumers played their DVD ISO images on the systems with libdvdcss installed. However, I tested Kodi by playing unencrypted DVD ISO and noticed the inability to play it. This code is inspired by stream_* functions in libdvdcss. Signed-off-by:
Vasyl Gello <vasek.gello@gmail.com>
-
- Aug 22, 2022
-
-
LLVM ends up using the size of an unsigned int if it's used in the bitfield. In other places the bitfields are using unsigned char which always uses the proper size in the packed structures. /!\ btni_t fields are kept with unsigned int as unsigned char cannot hold 10 bits. btni_t is not actually read as a packed structure. So we keep the current format for backward compatibility.
-
LLVM ends up using the size of an unsigned int if it's used in the bitfield. In other places the bitfields are using unsigned char which always uses the proper size in the packed structures. * multichannel_ext_t would end up having a size of 27 instead of 24 * cell_playback_t would end up having a size of 26 instead of 24 * pgci_srp_t would end up having a size of 11 instead of 8 * playback_type_t would end up having a size of 4 instead of 1
-
- Jul 31, 2022
-
-
- Jul 27, 2022
-
-
Miguel Borges de Freitas authored
-
- Jun 08, 2022
-
-
-
-
Miguel Borges de Freitas authored
-
- May 24, 2022
-
-
Jean-Baptiste Kempf authored
-
- May 15, 2022
-
-
Jean-Baptiste Kempf authored
Close #8 This was authorized by Eric Smith, original author of VOBDUMP, by email on May 15, 2022
-