[vlc-devel] commit: Don't check for impossible NULLity (CID #31) ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Jul 1 22:03:37 CEST 2008


vlc | branch: 0.8.6-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Jul  1 23:05:37 2008 +0300| [1ce5bf08d3750b75e2d7e8f45ce034255244836b]

Don't check for impossible NULLity (CID #31)

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

 src/input/input.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index 28ad31e..39cc01a 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2,7 +2,7 @@
  * input.c: input thread
  *****************************************************************************
  * Copyright (C) 1998-2004 the VideoLAN team
- * $Id$
+ * $Id: 28ad31e9fb3eb16af216b3b8f3738c29d51166d8 $
  *
  * Authors: Christophe Massiot <massiot at via.ecp.fr>
  *          Laurent Aimar <fenrir at via.ecp.fr>
@@ -2034,7 +2034,7 @@ static int InputSourceInit( input_thread_t *p_input,
         {
             psz_demux = psz_forced_demux;
         }
-        else if( !psz_demux || *psz_demux == '\0' )
+        else if( *psz_demux == '\0' )
         {
             /* special hack for forcing a demuxer with --demux=module
              * (and do nothing with a list) */




More information about the vlc-devel mailing list