Fix: vp8cx_pack_tokens_into_partitions_armv5 crash
authorAttila Nagy <attilanagy@google.com>
Fri, 14 Oct 2011 06:19:03 +0000 (09:19 +0300)
committerAttila Nagy <attilanagy@google.com>
Fri, 14 Oct 2011 07:53:04 +0000 (10:53 +0300)
commita5cd42feb9d5944cbc4043aca2829ef78e270431
treea98dc73ceeaec8ebb10459c5a0ef0247a00a4c22
parent6505adf271ff9ad79d024f63ebbdc2819e6ef259
Fix: vp8cx_pack_tokens_into_partitions_armv5 crash

It was crashing when number of partitions was bigger than the number
of MB rows (ex. 128x96 with 8 partitions).
Start point was not checked against mb_rows, plus extra
"empty" partitions were not written out.

Change-Id: I9c2f013b9ec022354b658fab4ef799ff8b1de93d
vp8/encoder/arm/armv5te/vp8_packtokens_partitions_armv5.asm