changeset 11460:a385968f8fb0 libavcodec

snow: remove unused stub functions w53_32_c() and w97_32_c() are defined as stubs when snow encoder is disabled. In this case, those functions are not referenced at all and do thus not need to be defined.
author mru
date Thu, 11 Mar 2010 02:32:05 +0000
parents 5fe3559e8e71
children 908cc63498ec
files snow.h
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/snow.h	Thu Mar 11 02:32:01 2010 +0000
+++ b/snow.h	Thu Mar 11 02:32:05 2010 +0000
@@ -128,9 +128,6 @@
 #if CONFIG_SNOW_ENCODER
 int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h);
 int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h);
-#else
-static int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {assert (0); return 0;}
-static int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {assert (0); return 0;}
 #endif
 
 void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count);