[vlc-commits] panoramix: remove shadowing variable
Rémi Denis-Courmont
git at videolan.org
Mon Jul 31 21:32:23 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 31 21:30:09 2017 +0300| [35d25e62a080307f5190239ae44b1f5b3b9c79c4] | committer: Rémi Denis-Courmont
panoramix: remove shadowing variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=35d25e62a080307f5190239ae44b1f5b3b9c79c4
---
modules/video_splitter/panoramix.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/video_splitter/panoramix.c b/modules/video_splitter/panoramix.c
index 26ff0092aa..9079c02824 100644
--- a/modules/video_splitter/panoramix.c
+++ b/modules/video_splitter/panoramix.c
@@ -1024,9 +1024,8 @@ static void FilterPlanar( uint8_t *p_out, int i_out_pitch,
if( b_attenuate_top || b_attenuate_bottom )
{
const int i_index = b_attenuate_top ? lambdah[0][y] : lambdah[1][y - (i_copy_lines - p_cfg->attenuate.i_bottom)];
- uint8_t *p_dst = &p_out[0];
for( int i = 0; i < i_out_width; i++)
- p_dst[i] = p_lut[i_index][p_dst[i]];
+ p_out[i] = p_lut[i_index][p_out[i]];
}
/* */
More information about the vlc-commits
mailing list