From 37d86126ac80f04355db0eb800f1801de83ac933 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Thu, 22 May 2003 11:00:33 +0000 Subject: [PATCH] change required to build on solaris. Original commit message from CVS: change required to build on solaris. --- gst/rtjpeg/RTjpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/rtjpeg/RTjpeg.c b/gst/rtjpeg/RTjpeg.c index 5ed916340f..7c592e98f9 100644 --- a/gst/rtjpeg/RTjpeg.c +++ b/gst/rtjpeg/RTjpeg.c @@ -133,7 +133,7 @@ int RTjpeg_b2s(__s16 *data, __s8 *strm, __u8 bt8) register int ci, co=1, tmp; register __s16 ZZvalue; - (__u8)strm[0]=(__u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); + strm[0]=(__u8)(data[RTjpeg_ZZ[0]]>254) ? 254:((data[RTjpeg_ZZ[0]]<0)?0:data[RTjpeg_ZZ[0]]); for(ci=1; ci<=bt8; ci++) {