From: Yaowu Xu Date: Thu, 5 Jan 2012 19:22:06 +0000 (-0800) Subject: Added an emms to prevent invalid stats output X-Git-Tag: v1.3.0~1217^2~380^2~103^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5ea68447ff7b731b51a323bb16619aee9391890;p=libvpx Added an emms to prevent invalid stats output 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 --- diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index fe8f1ab78..b60d996a8 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -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");