remove inline from non speed critical functions

Originally committed as revision 10982 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2007-11-09 21:58:50 +00:00
parent b7f435b058
commit dc6e492bb2

View File

@ -89,7 +89,7 @@ static void x8_vlc_init(){
} }
#undef init_or_vlc #undef init_or_vlc
static inline void x8_reset_vlc_tables(IntraX8Context * w){ static void x8_reset_vlc_tables(IntraX8Context * w){
memset(w->j_dc_vlc,0,sizeof(w->j_dc_vlc)); memset(w->j_dc_vlc,0,sizeof(w->j_dc_vlc));
memset(w->j_ac_vlc,0,sizeof(w->j_ac_vlc)); memset(w->j_ac_vlc,0,sizeof(w->j_ac_vlc));
w->j_orient_vlc=NULL; w->j_orient_vlc=NULL;
@ -643,7 +643,7 @@ block_placed:
return 0; return 0;
} }
static inline void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge with ff_* static void x8_init_block_index(MpegEncContext *s){ //FIXME maybe merge with ff_*
//not s->linesize as this would be wrong for field pics //not s->linesize as this would be wrong for field pics
//not that IntraX8 have interlace support ;) //not that IntraX8 have interlace support ;)
const int linesize = s->current_picture.linesize[0]; const int linesize = s->current_picture.linesize[0];