mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2025-01-13 13:40:54 +00:00
scc: Write all characters in pairs (#1208)
This is how every example appears to be structured. MPV doesn't display anything without this. Before: "e5 f2 e5 20" After: "e5f2 e520"
This commit is contained in:
parent
19de49763a
commit
1764aa1f92
@ -1131,7 +1131,7 @@ void write_character(const int fd, const unsigned char character, const bool dis
|
||||
}
|
||||
else
|
||||
{
|
||||
if (*bytes_written)
|
||||
if (*bytes_written % 2 == 1)
|
||||
write(fd, " ", 1);
|
||||
|
||||
fdprintf(fd, "%02x", odd_parity(character));
|
||||
|
Loading…
Reference in New Issue
Block a user