Re-introduce frame size check inadvertantly deleted
Re-introduce frame size check inadvertantly deleted

This patch adds back in code that checks that the frame
size lies within defined bounds was inadvertantly removed
by a previous patch:
https://gerrit.chromium.org/gerrit/#/c/70814/

Change-Id: If526570ba559260c4b7e98098bc75f7700ae7f97

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