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

diego subversion
Mon Nov 24 17:33:12 CET 2008


Author: diego
Date: Mon Nov 24 17:33:11 2008
New Revision: 15928

Log:
Make non-void replacement functions actually return a value.


Modified:
   trunk/libavcodec/snow.h

Modified: trunk/libavcodec/snow.h
==============================================================================
--- trunk/libavcodec/snow.h	(original)
+++ trunk/libavcodec/snow.h	Mon Nov 24 17:33:11 2008
@@ -129,8 +129,8 @@ extern void ff_snow_inner_add_yblock(con
 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 */




More information about the ffmpeg-cvslog mailing list