[vlc-devel] commit: don't convert bool to bool... ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Jan 28 19:51:04 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jan 28 20:50:49 2010 +0200| [13942d4755ec8d1cacb480e7f00b5cdfce1b6d02] | committer: Rémi Denis-Courmont 

don't convert bool to bool...

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

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

diff --git a/src/input/demux.c b/src/input/demux.c
index 1a3cd83..d33d356 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -167,15 +167,13 @@ demux_t *__demux_New( vlc_object_t *p_obj, input_thread_t *p_parent_input,
 
         p_demux->p_module =
             module_need( p_demux, "demux", psz_module,
-                         !strcmp( psz_module, p_demux->psz_demux ) ?
-                         true : false );
+                         !strcmp( psz_module, p_demux->psz_demux ) );
     }
     else
     {
         p_demux->p_module =
             module_need( p_demux, "access_demux", psz_module,
-                         !strcmp( psz_module, p_demux->psz_access ) ?
-                         true : false );
+                         !strcmp( psz_module, p_demux->psz_access ) );
     }
 
     if( p_demux->p_module == NULL )




More information about the vlc-devel mailing list