• michael's avatar
    While adding stereo rematrixing, I came across something that needs to · 2057ef6c
    michael authored
    be fixed even without adding the feature.  The output correctly uses 4
    dummy values for the rematrixing flags in block-0, but the bit
    allocation routine does not take these bits into account.  From what I
    can tell, there was a patch in 2003 that corrected the output to make it
    DVD and spec compatible, but it didn't correct the bit allocation.  It's
    only 4 bits over the entire 6 blocks, so overflow errors would happen
    rarely or never, but it's still worth fixing.  So here is a fix.
    
    patch by (Justin Ruggles {jruggle earthlink net)
    
    
    git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4179 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
    2057ef6c
ffmpeg.regression.ref 6.25 KB