[vlc-commits] commit: Removed useless test (demux_New). (Laurent Aimar )
git at videolan.org
git at videolan.org
Sun Oct 31 13:05:28 CET 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Sun Oct 31 12:36:23 2010 +0100| [2f37c6b5ed4e193e1c12dffd5e4bf5151ba019ac] | committer: Laurent Aimar
Removed useless test (demux_New).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2f37c6b5ed4e193e1c12dffd5e4bf5151ba019ac
---
src/input/demux.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/input/demux.c b/src/input/demux.c
index 458e162..049645e 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -78,7 +78,7 @@ demux_t *__demux_New( vlc_object_t *p_obj, input_thread_t *p_parent_input,
p_demux->psz_file = get_path( psz_location );
/* Take into account "demux" to be able to do :demux=dump */
- if( p_demux->psz_demux && *p_demux->psz_demux == '\0' )
+ if( *p_demux->psz_demux == '\0' )
{
free( p_demux->psz_demux );
p_demux->psz_demux = var_GetNonEmptyString( p_obj, "demux" );
More information about the vlc-commits
mailing list