]> git.sesse.net Git - vlc/commitdiff
Always use correct datatypes.
authorJean-Paul Saman <jpsaman@videolan.org>
Sat, 6 Dec 2003 22:53:07 +0000 (22:53 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 6 Dec 2003 22:53:07 +0000 (22:53 +0000)
modules/misc/freetype.c
modules/stream_out/transcode.c

index 3fdb4ba8dc6ffff584852c217eef187ff7d49971..c5bbb16fa45079b6e71449df63bc131b993a1f55 100644 (file)
@@ -2,7 +2,7 @@
  * freetype.c : Put text on the video, using freetype2
  *****************************************************************************
  * Copyright (C) 2002, 2003 VideoLAN
- * $Id: freetype.c,v 1.35 2003/11/22 00:41:07 titer Exp $
+ * $Id: freetype.c,v 1.36 2003/12/06 22:53:07 jpsaman Exp $
  *
  * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
  *
@@ -73,8 +73,9 @@ static void RenderYUY2( vout_thread_t *, picture_t *,
                         const subpicture_t * );
 static void RenderRV32( vout_thread_t *, picture_t *,
                         const subpicture_t * );
-static int  AddText   ( vout_thread_t *, byte_t *, text_style_t *, int,
+static int  AddText   ( vout_thread_t *, char *, text_style_t *, int,
                         int, int, mtime_t, mtime_t );
+
 static void FreeString( subpicture_t * );
 
 #if !defined(HAVE_ICONV)
@@ -629,7 +630,7 @@ static void RenderRV32( vout_thread_t *p_vout, picture_t *p_pic,
  * needed glyphs into memory. It is used as pf_add_string callback in
  * the vout method by this module
  */
-static int AddText ( vout_thread_t *p_vout, byte_t *psz_string,
+static int AddText ( vout_thread_t *p_vout, char *psz_string,
                      text_style_t *p_style, int i_flags, int i_hmargin,
                      int i_vmargin, mtime_t i_start, mtime_t i_stop )
 {
index df516eef8c98a126b318a8d8bf9a608cdc0d45a4..321e5d6b73f7d9b9031c3ef46de1d895319a0a0c 100644 (file)
@@ -2,7 +2,7 @@
  * transcode.c
  *****************************************************************************
  * Copyright (C) 2001, 2002 VideoLAN
- * $Id: transcode.c,v 1.58 2003/12/05 00:03:54 gbazin Exp $
+ * $Id: transcode.c,v 1.59 2003/12/06 22:53:07 jpsaman Exp $
  *
  * Authors: Laurent Aimar <fenrir@via.ecp.fr>
  *          Gildas Bazin <gbazin@netcourrier.com>
@@ -889,7 +889,8 @@ static int transcode_audio_ffmpeg_process( sout_stream_t *p_stream,
         if( id->f_src.audio.i_channels !=
             id->p_encoder->fmt_in.audio.i_channels )
         {
-            int i, j;
+            unsigned int i;
+            int j;
 
             /* This is for liba52 which is what ffmpeg uses to decode ac3 */
             static const int translation[7][6] =