[vlc-commits] usf: Fix variable shadowing

Hugo Beauzée-Luyssen git at videolan.org
Fri Nov 24 16:28:54 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Nov 24 16:28:24 2017 +0100| [c3900ff6688f086555debceb52c8089a76750ed1] | committer: Hugo Beauzée-Luyssen

usf: Fix variable shadowing

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

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

diff --git a/modules/codec/subsusf.c b/modules/codec/subsusf.c
index b39e1fae29..9a84c7b7ea 100644
--- a/modules/codec/subsusf.c
+++ b/modules/codec/subsusf.c
@@ -867,7 +867,7 @@ static subpicture_region_t *ParseUSFString( decoder_t *p_dec,
             {
                 subpicture_region_t *p_image_region = NULL;
 
-                char *psz_end = strcasestr( psz_subtitle, "</image>" );
+                psz_end = strcasestr( psz_subtitle, "</image>" );
                 char *psz_content = strchr( psz_subtitle, '>' );
                 int   i_transparent = -1;
 



More information about the vlc-commits mailing list