]> granicus.if.org Git - libvpx/commit
disambiguate superframe index in vp9_stop_encode()
authorJohn Koleszar <jkoleszar@google.com>
Tue, 12 Mar 2013 21:30:18 +0000 (14:30 -0700)
committerJohn Koleszar <jkoleszar@google.com>
Tue, 12 Mar 2013 21:30:23 +0000 (14:30 -0700)
commit872fc3ded88da483e723d5aa0a19993dff191fc7
treeb49b9c6b70c081cdea5b1c7d3b8819f25286ac89
parent49d1425d1949bfee12cb07bd18ed4c32e910541b
disambiguate superframe index in vp9_stop_encode()

If the bool-coded partition naturally ends in a byte that matches the
superframe index marker, it could lead to a parse error. This commit
ensures that if such a marker is seen, it is padded out with an
additional zero byte to disambiguate it.

Change-Id: Id977de05745b6fa9ef08afb71e210a2a3ecca02e
vp9/encoder/vp9_boolhuff.c