Reset the cyclic_refresh_mode_index to 0 on resize.
authorMarco Paniconi <marpan@google.com>
Wed, 26 Sep 2012 22:42:36 +0000 (15:42 -0700)
committerMarco Paniconi <marpan@google.com>
Wed, 26 Sep 2012 22:46:51 +0000 (15:46 -0700)
commitd539c1db5a2db66bbc3d62bf7cc7e2e56bb8b5fb
treeb277b88b6c855b72015472d2b8291092fee5d226
parent3730963073d80bb360486266d262fe3dc33e98d4
Reset the cyclic_refresh_mode_index to 0 on resize.

On an internal spatial resize, this mode index was not reset to 0,
and therefore could exceed dimensions of seg_map or cyclic_refresh_map.

Change-Id: I6fe85dbd2765eb0207a9d9f71fda8d8b8c34f075
vp8/encoder/onyx_if.c