[vlc-commits] mp4: avoid shadowing variables
Rémi Denis-Courmont
git at videolan.org
Tue Feb 28 17:52:14 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 28 18:52:03 2012 +0200| [a414889bc898bb5923015691b8f558b2db90f6b7] | committer: Rémi Denis-Courmont
mp4: avoid shadowing variables
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a414889bc898bb5923015691b8f558b2db90f6b7
---
modules/demux/mp4/mp4.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 96b2c66..a12ee42 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -441,10 +441,10 @@ static int Open( vlc_object_t * p_this )
free( psz_path );
}
msg_Dbg( p_demux, "adding ref = `%s'", psz_ref );
- input_item_t *p_input = input_item_New( psz_ref, NULL );
- input_item_CopyOptions( p_current, p_input );
- input_item_node_AppendItem( p_subitems, p_input );
- vlc_gc_decref( p_input );
+ input_item_t *p_item = input_item_New( psz_ref, NULL );
+ input_item_CopyOptions( p_current, p_item );
+ input_item_node_AppendItem( p_subitems, p_item );
+ vlc_gc_decref( p_item );
}
else
{
More information about the vlc-commits
mailing list