diff options
author | Luis de Bethencourt <luis.bg@samsung.com> | 2014-10-30 15:49:01 +0000 |
---|---|---|
committer | Luis de Bethencourt <luis.bg@samsung.com> | 2014-10-30 15:51:46 +0000 |
commit | 381eb9537cd65609349ab724639b8e7298fdb1b4 (patch) | |
tree | 7261dd591fe486f1b0c762591255089c1d6072c2 /gst/gaudieffects | |
parent | 0b040b71318a033a3fbc048f799c862412be8ffb (diff) | |
download | gstreamer-plugins-bad-381eb9537cd65609349ab724639b8e7298fdb1b4.tar.gz |
gaudieffects: stored value is overwritten
Value from left_luminance is assigned to out_luminance here, but that stored
value is not used before it is overwritten in the next cycle of the loop.
Removing assignation.
CID #1226473
Diffstat (limited to 'gst/gaudieffects')
-rw-r--r-- | gst/gaudieffects/gstdilate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gst/gaudieffects/gstdilate.c b/gst/gaudieffects/gstdilate.c index 82a8881b3..81fa1e48b 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -356,7 +356,6 @@ transform (guint32 * src, guint32 * dest, gint video_area, gint width, left_luminance = get_luminance (*left); if (left_luminance < out_luminance) { *dest = *left; - out_luminance = left_luminance; } src += 1; |