move clear_system_state() call before using double
authorYaowu Xu <yaowu@google.com>
Mon, 26 Jan 2015 23:29:15 +0000 (15:29 -0800)
committerYaowu Xu <yaowu@google.com>
Tue, 27 Jan 2015 02:41:50 +0000 (18:41 -0800)
commit645b7cdf034727eb7bc946cb1e9fc1532ad44877
treef17e700d1ed43d8900a603446a8bf50c34c679ea
parent643c75d90b71af8fc636367cb8552b3ae9ee141d
move clear_system_state() call before using double

Floating point is used in vp9_convert_qindex_to_q(), so sometime unit
test ActiveMapTest would cause run time error without properly call
to clear_system_state to reset register status.

Change-Id: I181e9395148c44a6ca8b97d6e109bd4a152143c6
vp9/encoder/vp9_encodeframe.c