summaryrefslogtreecommitdiffstats
path: root/gst/videofilter
diff options
context:
space:
mode:
authorDavid Schleef <ds@schleef.org>2004-03-04 20:18:44 +0000
committerDavid Schleef <ds@schleef.org>2004-03-04 20:18:44 +0000
commitc5604458c4f3b1666e6a8c8ea2be95666ca00520 (patch)
tree18f4a98e074323c8df686ec91408ef0295e9ca84 /gst/videofilter
parente365bb4ca361aba2f2ef19576cbf5d43cc5b36af (diff)
gst/videofilter/gstgamma.c: Fix typo that modified the alpha channel and caused a warning. (bug #136192)
Original commit message from CVS: reviewed by David Schleef * gst/videofilter/gstgamma.c: (gst_gamma_rgb32): Fix typo that modified the alpha channel and caused a warning. (bug #136192)
Diffstat (limited to 'gst/videofilter')
-rw-r--r--gst/videofilter/gstgamma.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/videofilter/gstgamma.c b/gst/videofilter/gstgamma.c
index d6a5d2c0..8f4ff28f 100644
--- a/gst/videofilter/gstgamma.c
+++ b/gst/videofilter/gstgamma.c
@@ -407,7 +407,8 @@ static void gst_gamma_rgb32(GstVideofilter *videofilter, void *dest, void *src)
*cdest++ = gamma->gamma_table_b[*csrc++];
*cdest++ = gamma->gamma_table_g[*csrc++];
*cdest++ = gamma->gamma_table_r[*csrc++];
- *cdest++; *csrc++;
+ cdest++;
+ csrc++;
i = i + 4;
}
} else {
@@ -416,7 +417,8 @@ static void gst_gamma_rgb32(GstVideofilter *videofilter, void *dest, void *src)
if ((i % 4) != 3)
*cdest++ = gamma->gamma_table[*csrc++];
else {
- *cdest++; *csrc++;
+ cdest++;
+ csrc++;
}
i++;
}