]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/transrate/transrate.c
Merge branch 'master' of git@git.videolan.org:vlc
[vlc] / modules / stream_out / transrate / transrate.c
index 70409e995eafdea1dfcc81d49b6bd91ad9a0ae27..3b0821b8c257b1ced7d38404d383bab41ab6039d 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#include <stdio.h>
-#include <stdlib.h>
 #define NDEBUG 1
 #include <assert.h>
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_sout.h>
-#include <<vlc_input.h>>
+#include <vlc_input.h>
 
 #include "transrate.h"
 
@@ -174,13 +176,13 @@ static sout_stream_id_t * Add( sout_stream_t *p_stream, es_format_t *p_fmt )
 
         /* open output stream */
         id->id = p_sys->p_out->pf_add( p_sys->p_out, p_fmt );
-        id->b_transrate = VLC_TRUE;
+        id->b_transrate = true;
     }
     else
     {
         msg_Dbg( p_stream, "not transrating a stream (fcc=`%4.4s')", (char*)&p_fmt->i_codec );
         id->id = p_sys->p_out->pf_add( p_sys->p_out, p_fmt );
-        id->b_transrate = VLC_FALSE;
+        id->b_transrate = false;
 
         if( id->id == NULL )
         {