[vlc-commits] ttml codec: change variable name for specificity
Stanislas Plessia
git at videolan.org
Wed Sep 14 18:39:43 CEST 2016
vlc | branch: master | Stanislas Plessia <stplessia at gmail.com> | Mon Aug 29 16:01:05 2016 +0200| [1d5314d8b52da8e3cead00e3550d180a23d154f0] | committer: Hugo Beauzée-Luyssen
ttml codec: change variable name for specificity
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1d5314d8b52da8e3cead00e3550d180a23d154f0
---
modules/codec/substtml.c | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/modules/codec/substtml.c b/modules/codec/substtml.c
index fb9fd3f..78c0faa 100644
--- a/modules/codec/substtml.c
+++ b/modules/codec/substtml.c
@@ -428,25 +428,25 @@ static void ParseTTMLStyles( decoder_t* p_dec )
vlc_stream_Delete( p_stream );
return ;
}
- const char* psz_name;
- int i_type = xml_ReaderNextNode( p_reader, &psz_name );
+ const char* psz_node_name;
+ int i_type = xml_ReaderNextNode( p_reader, &psz_node_name );
- if ( i_type == XML_READER_STARTELEM && ( !strcasecmp( psz_name, "head" ) || !strcasecmp( psz_name, "tt:head" ) ) )
+ if ( i_type == XML_READER_STARTELEM && ( !strcasecmp( psz_node_name, "head" ) || !strcasecmp( psz_node_name, "tt:head" ) ) )
{
do
{
- i_type = xml_ReaderNextNode( p_reader, &psz_name );
- if ( i_type == XML_READER_STARTELEM && ( !strcasecmp( "styling", psz_name ) ||
- !strcasecmp( "tt:styling", psz_name ) ) )
+ i_type = xml_ReaderNextNode( p_reader, &psz_node_name );
+ if ( i_type == XML_READER_STARTELEM && ( !strcasecmp( "styling", psz_node_name ) ||
+ !strcasecmp( "tt:styling", psz_node_name ) ) )
{
- i_type = xml_ReaderNextNode( p_reader, &psz_name );
- while ( i_type != XML_READER_ENDELEM || ( strcasecmp( psz_name, "styling" ) && strcasecmp( psz_name, "tt:styling" ) ) )
+ i_type = xml_ReaderNextNode( p_reader, &psz_node_name );
+ while ( i_type != XML_READER_ENDELEM || ( strcasecmp( psz_node_name, "styling" ) && strcasecmp( psz_node_name, "tt:styling" ) ) )
{
- ParseTTMLStyle( p_dec, p_reader, psz_name );
- i_type = xml_ReaderNextNode( p_reader, &psz_name );
+ ParseTTMLStyle( p_dec, p_reader, psz_node_name );
+ i_type = xml_ReaderNextNode( p_reader, &psz_node_name );
}
}
- } while ( i_type != XML_READER_ENDELEM || ( strcasecmp( psz_name, "head" ) && strcasecmp( psz_name, "tt:head" ) ) );
+ } while ( i_type != XML_READER_ENDELEM || ( strcasecmp( psz_node_name, "head" ) && strcasecmp( psz_node_name, "tt:head" ) ) );
}
xml_ReaderDelete( p_reader );
vlc_stream_Delete( p_stream );
More information about the vlc-commits
mailing list