Replacing duplicated code with get_scan_and_band call.
Replacing duplicated code with get_scan_and_band call.

Change-Id: I2cc3684f416a63dc99b9303109f9850f34a470d5

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