source: branches/perian-1.1/Patches/ffmpeg-h264-nounrollcabac.diff @ 962

Revision 962, 550 bytes checked in by astrange, 5 years ago (diff)

Copy G3 fix from trunk and add some minor optimizations/memory bug fixes to the ffmpeg patches.

  • ffmpeg/libavcodec/h264.c

     
    53355335            ctx = coeff_abs_levelgt1_ctx[node_ctx] + abs_level_m1_ctx_base; 
    53365336            node_ctx = coeff_abs_level_transition[1][node_ctx]; 
    53375337 
    5338             while( coeff_abs < 15 && get_cabac( CC, ctx ) ) { 
     5338            while( __builtin_expect(coeff_abs < 15 && get_cabac( CC, ctx ), 0) ) { 
    53395339                coeff_abs++; 
    53405340            } 
    53415341 
Note: See TracBrowser for help on using the repository browser.