summaryrefslogtreecommitdiffstats
path: root/postproc/yuv2rgb.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-23 22:05:55 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-23 22:05:55 +0000
commit41b847f6a8af2013338a63c1b7311f804b2bf5b7 (patch)
treed4dfb5b969edcaf963f4ca68030a3e16650b2589 /postproc/yuv2rgb.c
parent4bd87c35eb568740b2ae8e6c636d4e63622aa067 (diff)
downloadmpv-41b847f6a8af2013338a63c1b7311f804b2bf5b7.tar.bz2
mpv-41b847f6a8af2013338a63c1b7311f804b2bf5b7.tar.xz
sws_ prefix, more seperation between internal & external swscaler API
sws_scale() returns the number of outputed lines git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9495 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/yuv2rgb.c')
-rw-r--r--postproc/yuv2rgb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/postproc/yuv2rgb.c b/postproc/yuv2rgb.c
index e920d50ae0..0df8534919 100644
--- a/postproc/yuv2rgb.c
+++ b/postproc/yuv2rgb.c
@@ -262,7 +262,7 @@ const int32_t Inverse_Table_6_9[8][4] = {
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 @@ static void func_name(SwsContext *c, uint8_t* srcParam[], int srcStrideParam[],
dst_2 += dst_delta;\
}\
}\
+ return srcSliceH;\
}
PROLOG(yuv2rgb_c_32, uint32_t)