]> git.sesse.net Git - vlc/blobdiff - modules/codec/mash.cpp
Hack to fix the compilation on 10.4. This should actually be covered by configure...
[vlc] / modules / codec / mash.cpp
index 86005eec929879e519082465040f621f5400470c..12a9eaf184097182aac2a9107230abb25875c441 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_codec.h>
 #include <vlc_vout.h>
@@ -41,7 +45,7 @@ struct decoder_sys_t
      */
     mtime_t i_pts;
     IntraP64Decoder *p_decoder;
-    vlc_bool_t b_inited;
+    bool b_inited;
     int i_counter;
 
 };
@@ -98,7 +102,7 @@ static int OpenDecoder( vlc_object_t *p_this )
     }
     /* Misc init */
     p_sys->i_pts = 0;
-    p_sys->b_inited = VLC_FALSE;
+    p_sys->b_inited = false;
     p_sys->i_counter = 0;
 
     /* Set output properties */
@@ -193,7 +197,7 @@ static void *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
         vout_InitFormat( &p_dec->fmt_out.video, VLC_FOURCC('I','4','2','0'),
                          i_width, i_height,
                          VOUT_ASPECT_FACTOR * i_width / i_height );
-        p_sys->b_inited = VLC_TRUE;
+        p_sys->b_inited = true;
     }
     p_pic = NULL;
     p_sys->i_counter++;