Skip to main content

vc1_unescape_buffer

Function vc1_unescape_buffer 

Source
pub fn vc1_unescape_buffer(data: &[u8]) -> Vec<u8> ⓘ
Expand description

Remove VC-1 start-code emulation prevention bytes, matching FFmpeg’s vc1_unescape_buffer(): 00 00 03 xx (xx < 4) becomes 00 00 xx.