Reduce code duplication
Reduce code duplication

Change-Id: I6ea1c335da9ca5b65f6a11466b417ad196fd0d65

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