Lines Matching defs:pos
133 int pos= (get_bits_count(&s->gb)+7)>>3;
139 pos -= s->parse_context.last_index;
140 if(pos<0) pos=0; // padding is not really read so this might be -1
141 return pos;
143 if(pos==0) pos=1; //avoid infinite loops (i doubt that is needed but ...)
144 if(pos+10>buf_size) pos=buf_size; // oops ;)
146 return pos;