diff options
author | Måns Rullgård <mans@mansr.com> | 2010-03-11 02:32:05 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-03-11 02:32:05 +0000 |
commit | cc1e807f4ccf70538f34a50e2248b6831e74465e (patch) | |
tree | 78836e0f67aae93693957feb611770b131dfdffe | |
parent | 8a3ceaf4f0970f589034f42519c16132bcb92760 (diff) | |
download | ffmpeg-cc1e807f4ccf70538f34a50e2248b6831e74465e.tar.gz |
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.
Originally committed as revision 22448 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/snow.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 3dbc618fae..ee0d0730d0 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -128,9 +128,6 @@ void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_ #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); |