Commit a2c6f6e9 authored by Paul Wilkins's avatar Paul Wilkins Committed by Gerrit Code Review
Browse files

Merge "disambiguate superframe index in vp9_stop_encode()" into experimental

parents 21ba242b 872fc3de
...@@ -53,6 +53,10 @@ void vp9_stop_encode(BOOL_CODER *br) { ...@@ -53,6 +53,10 @@ void vp9_stop_encode(BOOL_CODER *br) {
for (i = 0; i < 32; i++) for (i = 0; i < 32; i++)
encode_bool(br, 0, 128); encode_bool(br, 0, 128);
// Ensure there's no ambigous collision with any index marker bytes
if ((br->buffer[br->pos - 1] & 0xe0) == 0xc0)
br->buffer[br->pos++] = 0;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment