Mercurial > libavcodec.hg
comparison rangecoder.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 | 176ac8353f48 |
| children | 4394344397d8 |
comparison
equal
deleted
inserted
replaced
| 5082:176ac8353f48 | 5083:ce36118abbbb |
|---|---|
| 101 } | 101 } |
| 102 } | 102 } |
| 103 | 103 |
| 104 static inline int get_rac(RangeCoder *c, uint8_t * const state){ | 104 static inline int get_rac(RangeCoder *c, uint8_t * const state){ |
| 105 int range1= (c->range * (*state)) >> 8; | 105 int range1= (c->range * (*state)) >> 8; |
| 106 int attribute_unused one_mask; | 106 int av_unused one_mask; |
| 107 | 107 |
| 108 c->range -= range1; | 108 c->range -= range1; |
| 109 #if 1 | 109 #if 1 |
| 110 if(c->low < c->range){ | 110 if(c->low < c->range){ |
| 111 *state= c->zero_state[*state]; | 111 *state= c->zero_state[*state]; |
