diff postproc/yuv2rgb.c @ 9494:543ab3909b78

sws_ prefix, more seperation between internal & external swscaler API sws_scale() returns the number of outputed lines
author michael
date Sun, 23 Feb 2003 22:05:55 +0000
parents fd4d38aa0e08
children bc5b87370cd1
line wrap: on
line diff
--- a/postproc/yuv2rgb.c	Sun Feb 23 20:48:13 2003 +0000
+++ b/postproc/yuv2rgb.c	Sun Feb 23 22:05:55 2003 +0000
@@ -262,7 +262,7 @@
 	dst_2[6*i+3] = b[Y]; dst_2[6*i+4] = g[Y]; dst_2[6*i+5] = r[Y];
 
 #define PROLOG(func_name, dst_type) \
-static void func_name(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[], int srcSliceY, \
+static int func_name(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[], int srcSliceY, \
              int srcSliceH, uint8_t* dst[], int dstStride[]){\
     uint8_t *src[3];\
     int srcStride[3];\
@@ -294,6 +294,7 @@
 	    dst_2 += dst_delta;\
 	}\
     }\
+    return srcSliceH;\
 }
 
 PROLOG(yuv2rgb_c_32, uint32_t)