summaryrefslogtreecommitdiffstats
path: root/gst/rtjpeg/RTjpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtjpeg/RTjpeg.c')
-rw-r--r--gst/rtjpeg/RTjpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtjpeg/RTjpeg.c b/gst/rtjpeg/RTjpeg.c
index 5ed91634..7c592e98 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++)
{