Cleaning up update_stats() function.
Cleaning up update_stats() function.

Change-Id: I9139210fc6b9878de7844d74dd97784a6d289230

mwgoldsmith/vpx,smarter/aom,Laknot/libvpx,Topopiccione/libvpx,smarter/aom,Suvarna1488/webm.libvpx,kim42083/webm.libvpx,felipebetancur/libvpx,kleopatra999/webm.libvpx,hsueceumd/test_hui,mbebenita/aom,iniwf/webm.libvpx,pcwalton/libvpx,ittiamvpx/libvpx-1,Acidburn0zzz/webm.libvpx,mwgoldsmith/libvpx,running770/libvpx,Acidburn0zzz/webm.libvpx,goodleixiao/vpx,ittiamvpx/libvpx,thdav/aom,running770/libvpx,Suvarna1488/webm.libvpx,n4t/libvpx,liqianggao/libvpx,ShiftMediaProject/libvpx,GrokImageCompression/aom,matanbs/webm.libvpx,luctrudeau/aom,matanbs/vp982,smarter/aom,kalli123/webm.libvpx,reimaginemedia/webm.libvpx,mbebenita/aom,Distrotech/libvpx,shareefalis/libvpx,n4t/libvpx,reimaginemedia/webm.libvpx,Topopiccione/libvpx,openpeer/libvpx_new,thdav/aom,VTCSecureLLC/libvpx,altogother/webm.libvpx,matanbs/vp982,luctrudeau/aom,shareefalis/libvpx,charup/https---github.com-webmproject-libvpx-,hsueceumd/test_hui,Laknot/libvpx,lyx2014/libvpx_c,liqianggao/libvpx,mwgoldsmith/vpx,liqianggao/libvpx,mbebenita/aom,mwgoldsmith/vpx,shyamalschandra/libvpx,kleopatra999/webm.libvpx,ittiamvpx/libvpx-1,iniwf/webm.libvpx,stewnorriss/libvpx,matanbs/vp982,Suvarna1488/webm.libvpx,iniwf/webm.libvpx,altogother/webm.libvpx,ShiftMediaProject/libvpx,kim42083/webm.libvpx,jdm/libvpx,lyx2014/libvpx_c,jacklicn/webm.libvpx,running770/libvpx,thdav/aom,gshORTON/webm.libvpx,mbebenita/aom,ittiamvpx/libvpx,GrokImageCompression/aom,lyx2014/libvpx_c,mwgoldsmith/libvpx,reimaginemedia/webm.libvpx,Topopiccione/libvpx,Distrotech/libvpx,gshORTON/webm.libvpx,charup/https---github.com-webmproject-libvpx-,jdm/libvpx,jmvalin/aom,jacklicn/webm.libvpx,n4t/libvpx,openpeer/libvpx_new,Maria1099/webm.libvpx,felipebetancur/libvpx,ShiftMediaProject/libvpx,shyamalschandra/libvpx,jmvalin/aom,iniwf/webm.libvpx,shacklettbp/aom,felipebetancur/libvpx,pcwalton/libvpx,pcwalton/libvpx,ittiamvpx/libvpx,Suvarna1488/webm.libvpx,ittiamvpx/libvpx-1,luctrudeau/aom,WebRTC-Labs/libvpx,hsueceumd/test_hui,matanbs/vp982,shacklettbp/aom,WebRTC-Labs/libvpx,webmproject/libvpx,jdm/libvpx,ShiftMediaProject/libvpx,Acidburn0zzz/webm.libvpx,pcwalton/libvpx,matanbs/webm.libvpx,openpeer/libvpx_new,matanbs/webm.libvpx,shareefalis/libvpx,mwgoldsmith/libvpx,goodleixiao/vpx,felipebetancur/libvpx,liqianggao/libvpx,Topopiccione/libvpx,ittiamvpx/libvpx,mwgoldsmith/vpx,WebRTC-Labs/libvpx,lyx2014/libvpx_c,Distrotech/libvpx,abwiz0086/webm.libvpx,kim42083/webm.libvpx,Maria1099/webm.libvpx,mwgoldsmith/vpx,WebRTC-Labs/libvpx,openpeer/libvpx_new,abwiz0086/webm.libvpx,zofuthan/libvpx,kim42083/webm.libvpx,mwgoldsmith/libvpx,kalli123/webm.libvpx,GrokImageCompression/aom,zofuthan/libvpx,charup/https---github.com-webmproject-libvpx-,ittiamvpx/libvpx-1,liqianggao/libvpx,shyamalschandra/libvpx,webmproject/libvpx,jdm/libvpx,openpeer/libvpx_new,webmproject/libvpx,openpeer/libvpx_new,Maria1099/webm.libvpx,mbebenita/aom,shyamalschandra/libvpx,lyx2014/libvpx_c,jmvalin/aom,matanbs/vp982,reimaginemedia/webm.libvpx,pcwalton/libvpx,altogother/webm.libvpx,smarter/aom,Distrotech/libvpx,Laknot/libvpx,shareefalis/libvpx,gshORTON/webm.libvpx,luctrudeau/aom,webmproject/libvpx,Laknot/libvpx,ittiamvpx/libvpx-1,Laknot/libvpx,webmproject/libvpx,hsueceumd/test_hui,zofuthan/libvpx,goodleixiao/vpx,mwgoldsmith/libvpx,thdav/aom,mbebenita/aom,shacklettbp/aom,lyx2014/libvpx_c,Maria1099/webm.libvpx,jdm/libvpx,stewnorriss/libvpx,matanbs/webm.libvpx,VTCSecureLLC/libvpx,iniwf/webm.libvpx,charup/https---github.com-webmproject-libvpx-,shyamalschandra/libvpx,stewnorriss/libvpx,webmproject/libvpx,luctrudeau/aom,Suvarna1488/webm.libvpx,felipebetancur/libvpx,goodleixiao/vpx,running770/libvpx,Topopiccione/libvpx,kalli123/webm.libvpx,shyamalschandra/libvpx,running770/libvpx,kleopatra999/webm.libvpx,kim42083/webm.libvpx,VTCSecureLLC/libvpx,stewnorriss/libvpx,kalli123/webm.libvpx,jmvalin/aom,felipebetancur/libvpx,GrokImageCompression/aom,jacklicn/webm.libvpx,GrokImageCompression/aom,kleopatra999/webm.libvpx,zofuthan/libvpx,jacklicn/webm.libvpx,Maria1099/webm.libvpx,matanbs/webm.libvpx,liqianggao/libvpx,stewnorriss/libvpx,Topopiccione/libvpx,ittiamvpx/libvpx,gshORTON/webm.libvpx,n4t/libvpx,iniwf/webm.libvpx,charup/https---github.com-webmproject-libvpx-,zofuthan/libvpx,Acidburn0zzz/webm.libvpx,shareefalis/libvpx,kalli123/webm.libvpx,mbebenita/aom,Distrotech/libvpx,smarter/aom,Acidburn0zzz/webm.libvpx,abwiz0086/webm.libvpx,jdm/libvpx,shacklettbp/aom,VTCSecureLLC/libvpx,Suvarna1488/webm.libvpx,altogother/webm.libvpx,matanbs/vp982,shacklettbp/aom,Acidburn0zzz/webm.libvpx,mbebenita/aom,abwiz0086/webm.libvpx,hsueceumd/test_hui,thdav/aom,goodleixiao/vpx,kleopatra999/webm.libvpx,reimaginemedia/webm.libvpx,stewnorriss/libvpx,goodleixiao/vpx,reimaginemedia/webm.libvpx,altogother/webm.libvpx,ittiamvpx/libvpx,gshORTON/webm.libvpx,charup/https---github.com-webmproject-libvpx-,jacklicn/webm.libvpx,kalli123/webm.libvpx,shareefalis/libvpx,thdav/aom,n4t/libvpx,ittiamvpx/libvpx-1,kleopatra999/webm.libvpx,jmvalin/aom,luctrudeau/aom,altogother/webm.libvpx,abwiz0086/webm.libvpx,Maria1099/webm.libvpx,mwgoldsmith/libvpx,jmvalin/aom,shacklettbp/aom,mbebenita/aom,gshORTON/webm.libvpx,zofuthan/libvpx,pcwalton/libvpx,hsueceumd/test_hui,matanbs/vp982,jacklicn/webm.libvpx,GrokImageCompression/aom,abwiz0086/webm.libvpx,matanbs/webm.libvpx,running770/libvpx,VTCSecureLLC/libvpx,ShiftMediaProject/libvpx,Laknot/libvpx,smarter/aom,WebRTC-Labs/libvpx,Distrotech/libvpx,mwgoldsmith/vpx,kim42083/webm.libvpx,VTCSecureLLC/libvpx