diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-01 22:28:24 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-01 22:28:24 +0200 |
commit | 178f75a5aeb3606bb7947e08f0b89826f5e31f85 (patch) | |
tree | 0ad8974db136da61f5ecefb22bd64259a884e601 | |
parent | 5ef5c0235480b2023de34acd3169373939807684 (diff) | |
download | ffmpeg-178f75a5aeb3606bb7947e08f0b89826f5e31f85.tar.gz |
snow-test: fix pointer type warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/snowenc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index 73d87bede6..4a9bb28341 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -1955,7 +1955,7 @@ int main(void){ buffer[0][i] = buffer[1][i] = av_lfg_get(&prng) % 54321 - 12345; ff_spatial_dwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); - ff_spatial_idwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); + ff_spatial_idwt((IDWTELEM*)buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); for(i=0; i<width*height; i++) if(buffer[0][i]!= buffer[1][i]) printf("fsck: %6d %12d %7d\n",i, buffer[0][i], buffer[1][i]); @@ -1966,7 +1966,7 @@ int main(void){ buffer[0][i] = buffer[1][i] = av_lfg_get(&prng) % 54321 - 12345; ff_spatial_dwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); - ff_spatial_idwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); + ff_spatial_idwt((IDWTELEM*)buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); for(i=0; i<width*height; i++) if(FFABS(buffer[0][i] - buffer[1][i])>20) printf("fsck: %6d %12d %7d\n",i, buffer[0][i], buffer[1][i]); @@ -1992,7 +1992,7 @@ int main(void){ memset(buffer[0], 0, sizeof(int)*width*height); buf[w/2 + h/2*stride]= 256*256; - ff_spatial_idwt(buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); + ff_spatial_idwt((IDWTELEM*)buffer[0], width, height, width, s.spatial_decomposition_type, s.spatial_decomposition_count); for(y=0; y<height; y++){ for(x=0; x<width; x++){ int64_t d= buffer[0][x + y*width]; |