1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 09:02:38 +00:00
mpv/TOOLS
wm4 1ee740cceb TOOLS/fil2string.py: fix for use with binary files
The script was written to be able to deal with binary files, but it had
a bug corrupting some data: e.g. a byte sequence 0x1 0x37 was printed as
"\17" (0x1 = escaped as "\1", and 0x37 = kept as literal "7"), which
would be interpreted as single character 0xF.

Always pad octal literals to length 3, which makes the escape sequences
unambiguous.
2012-07-28 23:36:08 +02:00
..
binary_codecs.sh TOOLS/binary_codecs.sh: make indentation consistent 2010-11-07 21:47:32 +02:00
checktree.sh build: Rename configure.log file to config.log 2010-11-02 04:08:56 +02:00
file2string.py TOOLS/fil2string.py: fix for use with binary files 2012-07-28 23:36:08 +02:00
matroska.py build: use python3 to generate some files previously in git 2012-07-16 21:08:42 +03:00
vdpau_functions.py build: use python3 to generate some files previously in git 2012-07-16 21:08:42 +03:00