[vlc-devel] [PATCH v2 08/14] picture: fix indentation

Steve Lhomme robux4 at ycbcr.xyz
Fri Aug 14 14:01:43 CEST 2020


---
 src/misc/picture.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/misc/picture.c b/src/misc/picture.c
index 0ee2e102417..87f71f6b8cd 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -230,12 +230,12 @@ picture_t *picture_NewFromResource( const video_format_t *p_fmt, const picture_g
 
     if (p_resource != NULL)
     {
-    for( int i = 0; i < p_picture->i_planes; i++ )
-    {
-        p_picture->p[i].p_pixels = p_resource->p[i].p_pixels;
-        p_picture->p[i].i_lines  = p_resource->p[i].i_lines;
-        p_picture->p[i].i_pitch  = p_resource->p[i].i_pitch;
-    }
+        for( int i = 0; i < p_picture->i_planes; i++ )
+        {
+            p_picture->p[i].p_pixels = p_resource->p[i].p_pixels;
+            p_picture->p[i].i_lines  = p_resource->p[i].i_lines;
+            p_picture->p[i].i_pitch  = p_resource->p[i].i_pitch;
+        }
     }
 
     return p_picture;
-- 
2.26.2



More information about the vlc-devel mailing list