[vlc-commits] Adjust filter: remove write-only variable

Jean-Baptiste Kempf git at videolan.org
Sun Mar 27 12:49:51 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Mar 27 12:45:54 2011 +0200| [f1cead7f9a95759f5bb2ca1ba5a000745412ed05] | committer: Jean-Baptiste Kempf

Adjust filter: remove write-only variable

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

 modules/video_filter/adjust.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/video_filter/adjust.c b/modules/video_filter/adjust.c
index 5e25846..fbe7f0a 100644
--- a/modules/video_filter/adjust.c
+++ b/modules/video_filter/adjust.c
@@ -435,7 +435,7 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
     uint8_t *p_out, *p_out_v;
     int i_y_offset, i_u_offset, i_v_offset;
 
-    int i_lines, i_visible_lines, i_pitch, i_visible_pitch;
+    int i_visible_lines, i_pitch, i_visible_pitch;
 
     bool b_thres;
     double  f_hue;
@@ -448,7 +448,6 @@ static picture_t *FilterPacked( filter_t *p_filter, picture_t *p_pic )
 
     if( !p_pic ) return NULL;
 
-    i_lines = p_pic->p->i_lines;
     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;



More information about the vlc-commits mailing list