Mercurial > libavcodec.hg
comparison mpegvideo.h @ 151:ae0516eadae2 libavcodec
fixed gcc-3.0.x compilation (by Michael Niedermayer)
author | nickols_k |
---|---|
date | Sat, 10 Nov 2001 14:36:12 +0000 |
parents | 82e579c37bc3 |
children | f914f710b8d0 |
comparison
equal
deleted
inserted
replaced
150:668dda5ef46d | 151:ae0516eadae2 |
---|---|
230 } RLTable; | 230 } RLTable; |
231 | 231 |
232 void init_rl(RLTable *rl); | 232 void init_rl(RLTable *rl); |
233 void init_vlc_rl(RLTable *rl); | 233 void init_vlc_rl(RLTable *rl); |
234 | 234 |
235 extern inline int get_rl_index(const RLTable *rl, int last, int run, int level) | 235 static inline int get_rl_index(const RLTable *rl, int last, int run, int level) |
236 { | 236 { |
237 int index; | 237 int index; |
238 index = rl->index_run[last][run]; | 238 index = rl->index_run[last][run]; |
239 if (index >= rl->n) | 239 if (index >= rl->n) |
240 return rl->n; | 240 return rl->n; |