[FFmpeg-cvslog] r22448 - trunk/libavcodec/snow.h

mru subversion
Thu Mar 11 03:32:06 CET 2010


Author: mru
Date: Thu Mar 11 03:32:05 2010
New Revision: 22448

Log:
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.

Modified:
   trunk/libavcodec/snow.h

Modified: trunk/libavcodec/snow.h
==============================================================================
--- trunk/libavcodec/snow.h	Thu Mar 11 03:32:03 2010	(r22447)
+++ trunk/libavcodec/snow.h	Thu Mar 11 03:32:05 2010	(r22448)
@@ -128,9 +128,6 @@ void ff_snow_inner_add_yblock(const uint
 #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);



More information about the ffmpeg-cvslog mailing list