comparison cabac.h @ 5083:ce36118abbbb libavcodec

rename attribute_unused to av_unused and moves its declaration to common.h patch by Carl Eugen Hoyos cehoyos chez ag or at original thread: [FFmpeg-devel] [PATCH] attribute_unused -> av_unused date: 05/29/2007 01:23 PM
author benoit
date Wed, 30 May 2007 09:32:25 +0000
parents 9a6a0818e93f
children 4dbe6578f811
comparison
equal deleted inserted replaced
5082:176ac8353f48 5083:ce36118abbbb
537 bit&=1; 537 bit&=1;
538 #endif /* BRANCHLESS_CABAC_DECODER */ 538 #endif /* BRANCHLESS_CABAC_DECODER */
539 #else /* defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS) */ 539 #else /* defined(ARCH_X86) && defined(CONFIG_7REGS) && defined(HAVE_EBX_AVAILABLE) && !defined(BROKEN_RELOCATIONS) */
540 int s = *state; 540 int s = *state;
541 int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + s]; 541 int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + s];
542 int bit, lps_mask attribute_unused; 542 int bit, lps_mask av_unused;
543 543
544 c->range -= RangeLPS; 544 c->range -= RangeLPS;
545 #ifndef BRANCHLESS_CABAC_DECODER 545 #ifndef BRANCHLESS_CABAC_DECODER
546 if(c->low < (c->range<<(CABAC_BITS+1))){ 546 if(c->low < (c->range<<(CABAC_BITS+1))){
547 bit= s&1; 547 bit= s&1;