Remove unused functions, fixes the warnings:

snow.c:1163: warning: 'spatial_compose53i' defined but not used
snow.c:1313: warning: 'spatial_compose97i' defined but not used

Originally committed as revision 11048 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 17 years ago
parent db628029c4
commit eb72cacb21
  1. 14
      libavcodec/snow.c

@ -1160,13 +1160,6 @@ STOP_TIMER("horizontal_compose53i")}
cs->y += 2; cs->y += 2;
} }
static void spatial_compose53i(IDWTELEM *buffer, int width, int height, int stride){
dwt_compose_t cs;
spatial_compose53i_init(&cs, buffer, height, stride);
while(cs.y <= height)
spatial_compose53i_dy(&cs, buffer, width, height, stride);
}
void ff_snow_horizontal_compose97i(IDWTELEM *b, int width){ void ff_snow_horizontal_compose97i(IDWTELEM *b, int width){
IDWTELEM temp[width]; IDWTELEM temp[width];
@ -1310,13 +1303,6 @@ STOP_TIMER("horizontal_compose97i")}}
cs->y += 2; cs->y += 2;
} }
static void spatial_compose97i(IDWTELEM *buffer, int width, int height, int stride){
dwt_compose_t cs;
spatial_compose97i_init(&cs, buffer, height, stride);
while(cs.y <= height)
spatial_compose97i_dy(&cs, buffer, width, height, stride);
}
static void ff_spatial_idwt_buffered_init(dwt_compose_t *cs, slice_buffer * sb, int width, int height, int stride_line, int type, int decomposition_count){ static void ff_spatial_idwt_buffered_init(dwt_compose_t *cs, slice_buffer * sb, int width, int height, int stride_line, int type, int decomposition_count){
int level; int level;
for(level=decomposition_count-1; level>=0; level--){ for(level=decomposition_count-1; level>=0; level--){

Loading…
Cancel
Save