diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-11-24 16:33:11 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-11-24 16:33:11 +0000 |
commit | f2e92ad1054d500b19af960010c615ec3c6bbfc6 (patch) | |
tree | a61000474033e24e59d42458a7b01f9609312d29 | |
parent | ce9ff9cc52199739ca6c163f3397c3f3bd9baa75 (diff) | |
download | ffmpeg-f2e92ad1054d500b19af960010c615ec3c6bbfc6.tar.gz |
Make non-void replacement functions actually return a value.
Originally committed as revision 15928 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/snow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 6f0d79f12a..67dbbd80c0 100644 --- a/libavcodec/snow.h +++ b/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 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);} -static int w97_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); return 0;} #endif /* C bits used by mmx/sse2/altivec */ |