On Mon, Jun 20, 2011 at 02:40:44AM +0100, Mans Rullgard wrote: > The code does not compile without this set. > > --- a/libavcodec/cabac.h > +++ b/libavcodec/cabac.h > @@ -474,31 +390,12 @@ static av_always_inline int > get_cabac_inline(CABACContext *c, uint8_t * const st > #else /* ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && > !defined(BROKEN_RELOCATIONS) */ > int s = *state; > int RangeLPS= ff_h264_lps_range[2*(c->range&0xC0) + s]; > int bit, lps_mask av_unused; > > c->range -= RangeLPS; > -#ifndef BRANCHLESS_CABAC_DECODER > -#else /* BRANCHLESS_CABAC_DECODER */ > lps_mask= ((c->range<<(CABAC_BITS+1)) - c->low)>>31; > > c->low -= (c->range<<(CABAC_BITS+1)) & lps_mask;
I think the av_unused attribute should be removed from the variable declaration now. Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
