Fix another crash in vpxenc with --pass=1 and --test-decode.
Fix another crash in vpxenc with --pass=1 and --test-decode.

Change-Id: Id23917ce2555519d2e9172dd6ce3a283f2235d26

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