[vlc-devel] [PATCH] [RFC] picture: remove width alignment to 32	pixels
    Steve Lhomme 
    robux4 at videolabs.io
       
    Fri Dec 15 13:10:45 CET 2017
    
    
  
It's been there for a long time but I'm not sure what's the rationale around
this. IMO it's not necessary.
---
 src/misc/picture.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/src/misc/picture.c b/src/misc/picture.c
index fd1aaa38f5..bafa16f534 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -182,7 +182,6 @@ int picture_Setup( picture_t *p_picture, const video_format_t *restrict fmt )
         if( i_ratio_h < p_dsc->p[i].h.den )
             i_ratio_h = p_dsc->p[i].h.den;
     }
-    i_modulo_h = LCM( i_modulo_h, 32 );
 
     const int i_width_aligned  = ( fmt->i_width  + i_modulo_w - 1 ) / i_modulo_w * i_modulo_w;
     /* make sure we have 2(i_ratio_h) extra lines for some ASM functions */
-- 
2.14.2
    
    
More information about the vlc-devel
mailing list