comparison rangecoder.h @ 2522:e25782262d7d libavcodec

kill warnings patch by (Mns Rullgrd <mru inprovide com>)
author michael
date Thu, 24 Feb 2005 19:08:50 +0000
parents 841a111be02c
children ef2149182f1c
comparison
equal deleted inserted replaced
2521:d3885f927bc7 2522:e25782262d7d
92 } 92 }
93 } 93 }
94 94
95 static inline int get_rac(RangeCoder *c, uint8_t * const state){ 95 static inline int get_rac(RangeCoder *c, uint8_t * const state){
96 int range1= (c->range * (*state)) >> 8; 96 int range1= (c->range * (*state)) >> 8;
97 int one_mask; 97 int attribute_unused one_mask;
98 98
99 c->range -= range1; 99 c->range -= range1;
100 #if 1 100 #if 1
101 if(c->low < c->range){ 101 if(c->low < c->range){
102 *state= c->zero_state[*state]; 102 *state= c->zero_state[*state];