Make non-void replacement functions actually return a value.

Originally committed as revision 15928 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Diego Biurrun 16 years ago
parent ce9ff9cc52
commit f2e92ad105
  1. 4
      libavcodec/snow.h

@ -129,8 +129,8 @@ extern void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride,
int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h); 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); int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h);
#else #else
static int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {assert (0);} 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);} static int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {assert (0); return 0;}
#endif #endif
/* C bits used by mmx/sse2/altivec */ /* C bits used by mmx/sse2/altivec */

Loading…
Cancel
Save