[vlc-devel] [PATCH 1/2] i420_yuy2: remove useless lines

Steve Lhomme robux4 at videolabs.io
Tue Mar 8 14:52:08 CET 2016


---
 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 4584f9e..ff0ddd3 100644
--- a/modules/video_chroma/i420_yuy2.c
+++ b/modules/video_chroma/i420_yuy2.c
@@ -325,11 +325,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;
     }
 
@@ -369,11 +367,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;
         }
     }
@@ -397,11 +393,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;
         }
     }
-- 
2.7.2.windows.1



More information about the vlc-devel mailing list