[vlc-commits] text_renderer: freetype: clear variable shadowing warning

Francois Cartegnie git at videolan.org
Wed Nov 8 16:04:48 CET 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Nov  8 14:09:28 2017 +0100| [33fffffcd347d483dcbb3ee6c4583922b54b153f] | committer: Francois Cartegnie

text_renderer: freetype: clear variable shadowing warning

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

 modules/text_renderer/freetype/freetype.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/text_renderer/freetype/freetype.c b/modules/text_renderer/freetype/freetype.c
index 24de9099cb..269dbd7bc3 100644
--- a/modules/text_renderer/freetype/freetype.c
+++ b/modules/text_renderer/freetype/freetype.c
@@ -514,7 +514,7 @@ static int RenderYUVP( filter_t *p_filter, subpicture_region_t *p_region,
     /* Outlining (find something better than nearest neighbour filtering ?) */
     if( 1 )
     {
-        uint8_t *p_dst = p_region->p_picture->Y_PIXELS;
+        p_dst = p_region->p_picture->Y_PIXELS;
         uint8_t *p_top = p_dst; /* Use 1st line as a cache */
         uint8_t left, current;
 



More information about the vlc-commits mailing list