Resetting of the cyclic_refresh_mode_index:
Resetting of the cyclic_refresh_mode_index:

Reset the cyclie refresh mode index in alloc_compressor_data().
This is needed to handle both cases of internal and
external spatial resizing.

Change-Id: I2697e12d45135eae2e8f0d45161811f24722312a

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