Removed unnecessary frame type checks
Removed unnecessary frame type checks

ref_frame is set to INTRA_FRAME for keyframes.  The B_PRED
mode is only used in intra frames.

Change-Id: I9bac8bec7c736300d47994f3cb570329edf11ec0

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