[vlc-commits] adjust: removed unused values

Rémi Denis-Courmont git at videolan.org
Sun Mar 24 17:53:12 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 24 18:36:31 2013 +0200| [b60c46f01bb788b4ac135dfc0c67d3e8fe934b3d] | committer: Rémi Denis-Courmont

adjust: removed unused values

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b60c46f01bb788b4ac135dfc0c67d3e8fe934b3d
---

 modules/video_filter/adjust.c |   14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/modules/video_filter/adjust.c b/modules/video_filter/adjust.c
index d5fb57c..725a683 100644
--- a/modules/video_filter/adjust.c
+++ b/modules/video_filter/adjust.c
@@ -372,11 +372,11 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
     int pi_gamma[256];
 
     picture_t *p_outpic;
-    uint8_t *p_in, *p_in_v, *p_in_end, *p_line_end;
-    uint8_t *p_out, *p_out_v;
+    uint8_t *p_in, *p_in_end, *p_line_end;
+    uint8_t *p_out;
     int i_y_offset, i_u_offset, i_v_offset;
 
-    int i_visible_lines, i_pitch, i_visible_pitch;
+    int i_pitch, i_visible_pitch;
 
     bool b_thres;
     double  f_hue;
@@ -389,7 +389,6 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
 
     if( !p_pic ) return NULL;
 
-    i_visible_lines = p_pic->p->i_visible_lines;
     i_pitch = p_pic->p->i_pitch;
     i_visible_pitch = p_pic->p->i_visible_pitch;
 
@@ -502,13 +501,6 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
      * Do the U and V planes
      */
 
-    p_in = p_pic->p->p_pixels + i_u_offset;
-    p_in_v = p_pic->p->p_pixels + i_v_offset;
-    p_in_end = p_in + i_visible_lines * i_pitch - 8 * 4;
-
-    p_out = p_outpic->p->p_pixels + i_u_offset;
-    p_out_v = p_outpic->p->p_pixels + i_v_offset;
-
     i_sin = sin(f_hue) * 256;
     i_cos = cos(f_hue) * 256;
 



More information about the vlc-commits mailing list