h264 parser: fix setting default l1 ref list size for non-B frames.
h264 parser: fix setting default l1 ref list size for non-B frames.

When the reflist size override flag is not present in slice header,
we should be falling back to PPS defaults on l0 for non-I slices, but
on l1 only for B-slices.

BUG=141549

Review URL: https://chromiumcodereview.appspot.com/10825270

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@150748 0039d316-1c4b-4281-b951-d872f2087c98

littlstar/chromium.src,junmin-zhu/chromium-rivertrail,anirudhSK/chromium,littlstar/chromium.src,timopulkkinen/BubbleFish,ChromiumWebApps/chromium,hgl888/chromium-crosswalk,anirudhSK/chromium,ltilve/chromium,M4sse/chromium.src,ondra-novak/chromium.src,hgl888/chromium-crosswalk-efl,patrickm/chromium.src,dushu1203/chromium.src,ondra-novak/chromium.src,bright-sparks/chromium-spacewalk,hujiajie/pa-chromium,zcbenz/cefode-chromium,jaruba/chromium.src,dushu1203/chromium.src,mohamed--abdel-maksoud/chromium.src,littlstar/chromium.src,anirudhSK/chromium,junmin-zhu/chromium-rivertrail,hujiajie/pa-chromium,ChromiumWebApps/chromium,Chilledheart/chromium,ChromiumWebApps/chromium,crosswalk-project/chromium-crosswalk-efl,hujiajie/pa-chromium,axinging/chromium-crosswalk,Chilledheart/chromium,markYoungH/chromium.src,chuan9/chromium-crosswalk,ondra-novak/chromium.src,zcbenz/cefode-chromium,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,dednal/chromium.src,markYoungH/chromium.src,dednal/chromium.src,mogoweb/chromium-crosswalk,mogoweb/chromium-crosswalk,ltilve/chromium,hujiajie/pa-chromium,krieger-od/nwjs_chromium.src,ondra-novak/chromium.src,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,chuan9/chromium-crosswalk,ltilve/chromium,PeterWangIntel/chromium-crosswalk,nacl-webkit/chrome_deps,Chilledheart/chromium,pozdnyakov/chromium-crosswalk,dednal/chromium.src,mohamed--abdel-maksoud/chromium.src,mohamed--abdel-maksoud/chromium.src,axinging/chromium-crosswalk,ltilve/chromium,Fireblend/chromium-crosswalk,anirudhSK/chromium,dednal/chromium.src,fujunwei/chromium-crosswalk,littlstar/chromium.src,PeterWangIntel/chromium-crosswalk,dushu1203/chromium.src,mogoweb/chromium-crosswalk,Pluto-tv/chromium-crosswalk,markYoungH/chromium.src,bright-sparks/chromium-spacewalk,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,crosswalk-project/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,Fireblend/chromium-crosswalk,jaruba/chromium.src,markYoungH/chromium.src,zcbenz/cefode-chromium,jaruba/chromium.src,Jonekee/chromium.src,ChromiumWebApps/chromium,krieger-od/nwjs_chromium.src,fujunwei/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,patrickm/chromium.src,junmin-zhu/chromium-rivertrail,mohamed--abdel-maksoud/chromium.src,Chilledheart/chromium,bright-sparks/chromium-spacewalk,jaruba/chromium.src,ondra-novak/chromium.src,ChromiumWebApps/chromium,pozdnyakov/chromium-crosswalk,anirudhSK/chromium,M4sse/chromium.src,mogoweb/chromium-crosswalk,axinging/chromium-crosswalk,timopulkkinen/BubbleFish,M4sse/chromium.src,patrickm/chromium.src,zcbenz/cefode-chromium,anirudhSK/chromium,dushu1203/chromium.src,hujiajie/pa-chromium,Fireblend/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,mohamed--abdel-maksoud/chromium.src,PeterWangIntel/chromium-crosswalk,ondra-novak/chromium.src,ltilve/chromium,Chilledheart/chromium,Chilledheart/chromium,PeterWangIntel/chromium-crosswalk,axinging/chromium-crosswalk,Just-D/chromium-1,jaruba/chromium.src,PeterWangIntel/chromium-crosswalk,mogoweb/chromium-crosswalk,anirudhSK/chromium,hgl888/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,hgl888/chromium-crosswalk-efl,M4sse/chromium.src,M4sse/chromium.src,littlstar/chromium.src,crosswalk-project/chromium-crosswalk-efl,patrickm/chromium.src,pozdnyakov/chromium-crosswalk,jaruba/chromium.src,patrickm/chromium.src,dushu1203/chromium.src,zcbenz/cefode-chromium,dednal/chromium.src,chuan9/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,markYoungH/chromium.src,M4sse/chromium.src,Chilledheart/chromium,dushu1203/chromium.src,jaruba/chromium.src,littlstar/chromium.src,hgl888/chromium-crosswalk-efl,fujunwei/chromium-crosswalk,dushu1203/chromium.src,Fireblend/chromium-crosswalk,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,Pluto-tv/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,dushu1203/chromium.src,fujunwei/chromium-crosswalk,junmin-zhu/chromium-rivertrail,nacl-webkit/chrome_deps,Jonekee/chromium.src,axinging/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,nacl-webkit/chrome_deps,TheTypoMaster/chromium-crosswalk,nacl-webkit/chrome_deps,PeterWangIntel/chromium-crosswalk,pozdnyakov/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,Jonekee/chromium.src,Just-D/chromium-1,axinging/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,dushu1203/chromium.src,Just-D/chromium-1,hgl888/chromium-crosswalk,crosswalk-project/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,bright-sparks/chromium-spacewalk,anirudhSK/chromium,hgl888/chromium-crosswalk,krieger-od/nwjs_chromium.src,dednal/chromium.src,dushu1203/chromium.src,chuan9/chromium-crosswalk,timopulkkinen/BubbleFish,hgl888/chromium-crosswalk,M4sse/chromium.src,dednal/chromium.src,fujunwei/chromium-crosswalk,Just-D/chromium-1,hujiajie/pa-chromium,Just-D/chromium-1,junmin-zhu/chromium-rivertrail,bright-sparks/chromium-spacewalk,ondra-novak/chromium.src,mohamed--abdel-maksoud/chromium.src,Just-D/chromium-1,pozdnyakov/chromium-crosswalk,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,junmin-zhu/chromium-rivertrail,markYoungH/chromium.src,M4sse/chromium.src,chuan9/chromium-crosswalk,markYoungH/chromium.src,zcbenz/cefode-chromium,axinging/chromium-crosswalk,markYoungH/chromium.src,mogoweb/chromium-crosswalk,Jonekee/chromium.src,dednal/chromium.src,junmin-zhu/chromium-rivertrail,hgl888/chromium-crosswalk-efl,TheTypoMaster/chromium-crosswalk,Pluto-tv/chromium-crosswalk,mohamed--abdel-maksoud/chromium.src,Fireblend/chromium-crosswalk,krieger-od/nwjs_chromium.src,junmin-zhu/chromium-rivertrail,Just-D/chromium-1,bright-sparks/chromium-spacewalk,krieger-od/nwjs_chromium.src,ChromiumWebApps/chromium,ChromiumWebApps/chromium,markYoungH/chromium.src,crosswalk-project/chromium-crosswalk-efl,Pluto-tv/chromium-crosswalk,pozdnyakov/chromium-crosswalk,zcbenz/cefode-chromium,jaruba/chromium.src,anirudhSK/chromium,Chilledheart/chromium,hujiajie/pa-chromium,junmin-zhu/chromium-rivertrail,fujunwei/chromium-crosswalk,Jonekee/chromium.src,pozdnyakov/chromium-crosswalk,Pluto-tv/chromium-crosswalk,ChromiumWebApps/chromium,ltilve/chromium,nacl-webkit/chrome_deps,fujunwei/chromium-crosswalk,hgl888/chromium-crosswalk,littlstar/chromium.src,hgl888/chromium-crosswalk,M4sse/chromium.src,timopulkkinen/BubbleFish,ondra-novak/chromium.src,nacl-webkit/chrome_deps,krieger-od/nwjs_chromium.src,Jonekee/chromium.src,TheTypoMaster/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,ltilve/chromium,axinging/chromium-crosswalk,Jonekee/chromium.src,dushu1203/chromium.src,timopulkkinen/BubbleFish,zcbenz/cefode-chromium,Pluto-tv/chromium-crosswalk,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,ltilve/chromium,hujiajie/pa-chromium,bright-sparks/chromium-spacewalk,fujunwei/chromium-crosswalk,Fireblend/chromium-crosswalk,zcbenz/cefode-chromium,ChromiumWebApps/chromium,dednal/chromium.src,M4sse/chromium.src,crosswalk-project/chromium-crosswalk-efl,anirudhSK/chromium,zcbenz/cefode-chromium,hgl888/chromium-crosswalk-efl,hujiajie/pa-chromium,Just-D/chromium-1,fujunwei/chromium-crosswalk,krieger-od/nwjs_chromium.src,timopulkkinen/BubbleFish,Jonekee/chromium.src,hujiajie/pa-chromium,dednal/chromium.src,markYoungH/chromium.src,Jonekee/chromium.src,Fireblend/chromium-crosswalk,ChromiumWebApps/chromium,hgl888/chromium-crosswalk-efl,Chilledheart/chromium,Pluto-tv/chromium-crosswalk,ltilve/chromium,nacl-webkit/chrome_deps,hgl888/chromium-crosswalk-efl,anirudhSK/chromium,hgl888/chromium-crosswalk,patrickm/chromium.src,TheTypoMaster/chromium-crosswalk,timopulkkinen/BubbleFish,mogoweb/chromium-crosswalk,TheTypoMaster/chromium-crosswalk,bright-sparks/chromium-spacewalk,nacl-webkit/chrome_deps,ondra-novak/chromium.src,nacl-webkit/chrome_deps,jaruba/chromium.src,chuan9/chromium-crosswalk,pozdnyakov/chromium-crosswalk,axinging/chromium-crosswalk,pozdnyakov/chromium-crosswalk,Jonekee/chromium.src,anirudhSK/chromium,mogoweb/chromium-crosswalk,hujiajie/pa-chromium,TheTypoMaster/chromium-crosswalk,mogoweb/chromium-crosswalk,M4sse/chromium.src,nacl-webkit/chrome_deps,Just-D/chromium-1,krieger-od/nwjs_chromium.src,Pluto-tv/chromium-crosswalk,chuan9/chromium-crosswalk,junmin-zhu/chromium-rivertrail,crosswalk-project/chromium-crosswalk-efl,hgl888/chromium-crosswalk-efl,krieger-od/nwjs_chromium.src,patrickm/chromium.src,junmin-zhu/chromium-rivertrail,chuan9/chromium-crosswalk,dednal/chromium.src,markYoungH/chromium.src,patrickm/chromium.src,patrickm/chromium.src,ChromiumWebApps/chromium,ChromiumWebApps/chromium,Jonekee/chromium.src,Pluto-tv/chromium-crosswalk,timopulkkinen/BubbleFish,jaruba/chromium.src,hgl888/chromium-crosswalk-efl,PeterWangIntel/chromium-crosswalk,littlstar/chromium.src,chuan9/chromium-crosswalk