mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-28 22:05:03 +00:00
71c8a881ec
kax_analyzer_c's code for handling a gap of one byte took the following element, moved its header one byte to the front and rewrote the size one byte bigger than before. This breaks if the following element's size was already written with eight bytes. lavf creates such files. Fix for bug 536.
15 lines
338 B
Ruby
15 lines
338 B
Ruby
#!/usr/bin/ruby -w
|
|
|
|
class T_280replace_one_byte_with_ebmlvoid < Test
|
|
def description
|
|
return "mkvpropedit / Replace one byte with en EbmlVoid"
|
|
end
|
|
|
|
def run
|
|
sys "cp data/mkv/sample-bug536.mkv #{tmp}"
|
|
sys "../src/mkvpropedit #{tmp} --edit track:v1 --set display-width=1600 --set display-height=768"
|
|
hash_tmp
|
|
end
|
|
end
|
|
|