Converted assertion to returning error
Converted assertion to returning error

Assertion happens for invalid input data, the commit replace the
assertion with returning error.

Change-Id: I1b73ae752d64882d984cd23936efe75a757c2b41

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