[vlc-commits] i420_yuy2: remove useless lines

Steve Lhomme git at videolan.org
Wed Mar 9 13:23:25 CET 2016


vlc/vlc-2.2 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Tue Mar  8 14:52:08 2016 +0100| [c0930ad4902df3bb52110313fd1598a9e4a42488] | committer: Jean-Baptiste Kempf

i420_yuy2: remove useless lines

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit ca3e55c7a0bef2e2b5f1eac85a1ef2dfcca0668c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/video_chroma/i420_yuy2.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/video_chroma/i420_yuy2.c b/modules/video_chroma/i420_yuy2.c
index cd99dd6..447d3f6 100644
--- a/modules/video_chroma/i420_yuy2.c
+++ b/modules/video_chroma/i420_yuy2.c
@@ -332,11 +332,9 @@ static void I420_YUY2( filter_t *p_filter, picture_t *p_source,
             C_YUV420_YUYV( );
         }
 
-        p_y1 += i_source_margin;
         p_y2 += i_source_margin;
         p_u += i_source_margin_c;
         p_v += i_source_margin_c;
-        p_line1 += i_dest_margin;
         p_line2 += i_dest_margin;
     }
 
@@ -376,11 +374,9 @@ static void I420_YUY2( filter_t *p_filter, picture_t *p_source,
                 C_YUV420_YUYV( );
             }
 
-            p_y1 += i_source_margin;
             p_y2 += i_source_margin;
             p_u += i_source_margin_c;
             p_v += i_source_margin_c;
-            p_line1 += i_dest_margin;
             p_line2 += i_dest_margin;
         }
     }
@@ -404,11 +400,9 @@ static void I420_YUY2( filter_t *p_filter, picture_t *p_source,
                 C_YUV420_YUYV( );
             }
 
-            p_y1 += i_source_margin;
             p_y2 += i_source_margin;
             p_u += i_source_margin_c;
             p_v += i_source_margin_c;
-            p_line1 += i_dest_margin;
             p_line2 += i_dest_margin;
         }
     }



More information about the vlc-commits mailing list