Mercurial > libavcodec.hg
changeset 8208:1fbeeeec901d libavcodec
Make non-void replacement functions actually return a value.
author | diego |
---|---|
date | Mon, 24 Nov 2008 16:33:11 +0000 |
parents | 2f35f9781c31 |
children | 65e05fda5280 |
files | snow.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/snow.h Mon Nov 24 16:08:21 2008 +0000 +++ b/snow.h Mon Nov 24 16:33:11 2008 +0000 @@ -129,8 +129,8 @@ 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 */