Added an emms to prevent invalid stats output
authorYaowu Xu <yaowu@google.com>
Thu, 5 Jan 2012 19:22:06 +0000 (11:22 -0800)
committerYaowu Xu <yaowu@google.com>
Thu, 5 Jan 2012 21:25:41 +0000 (13:25 -0800)
In certain hardware configuration, where mmx code is enabled and
other simd (sse2/sse3) disabled, lacking of this emms caused invalid
internal stats outputs.

Change-Id: I77c61cf6e0448d3f3b8c11781aa9e42f31d231c9

vp8/encoder/onyx_if.c

index fe8f1ab..b60d996 100644 (file)
@@ -2670,6 +2670,8 @@ void vp8_remove_compressor(VP8_PTR *ptr)
 
 #if CONFIG_INTERNAL_STATS
 
+        vp8_clear_system_state();
+
         if (cpi->pass != 1)
         {
             FILE *f = fopen("opsnr.stt", "a");