mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
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
This commit is contained in:
parent
8b2fc918b6
commit
0b3f5dafa6
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue