• Christophe Gisquet's avatar
    vc2enc: prevent random data · 9c1aa14b
    Christophe Gisquet authored
    The slice prefix is 0 in the reference encoder and the decoder ignores it.
    Writing 0 there seems like the best temporary solution.
    
    The padding could have contained uninitialized data, but reference VC2
    encoders put 0xFF there, hence the memset value.
    
    Overall this allows producing bistreams with no random data for use by fate.
    9c1aa14b
vc2enc.c 42.2 KB