diff options
author | Luis de Bethencourt <luis.bg@samsung.com> | 2015-01-12 14:22:47 +0000 |
---|---|---|
committer | Luis de Bethencourt <luis.bg@samsung.com> | 2015-01-12 14:22:47 +0000 |
commit | 0b3f5dafa6c5a9933d2a43308124e19cd5faa81e (patch) | |
tree | a0ee1e91b565499468acfc7c9e610206bde1b8e8 /gst | |
parent | 8b2fc918b67cfb965bcca6d6a3b7957f38ba7797 (diff) | |
download | gstreamer-plugins-bad-0b3f5dafa6c5a9933d2a43308124e19cd5faa81e.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')
-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 81fa1e48b..8c3c013b0 100644 --- a/gst/gaudieffects/gstdilate.c +++ b/gst/gaudieffects/gstdilate.c @@ -414,7 +414,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; |