Commit 4ee258df authored by Rocky Bernstein's avatar Rocky Bernstein

Fix if iconv not installed.

parent 525f8be1
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* freetype.c : Put text on the video, using freetype2 * freetype.c : Put text on the video, using freetype2
***************************************************************************** *****************************************************************************
* Copyright (C) 2002, 2003 VideoLAN * Copyright (C) 2002, 2003 VideoLAN
* $Id: freetype.c,v 1.40 2004/01/25 18:53:07 gbazin Exp $ * $Id: freetype.c,v 1.41 2004/01/25 22:16:51 rocky Exp $
* *
* Authors: Sigmund Augdal <sigmunau@idi.ntnu.no> * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
* *
...@@ -648,7 +648,10 @@ static subpicture_t *AddText ( vout_thread_t *p_vout, char *psz_string, ...@@ -648,7 +648,10 @@ static subpicture_t *AddText ( vout_thread_t *p_vout, char *psz_string,
line_desc_t *p_line, *p_next; line_desc_t *p_line, *p_next;
uint32_t *p_unicode_string, i_char; uint32_t *p_unicode_string, i_char;
int i_string_length; int i_string_length;
#if defined(HAVE_ICONV)
iconv_t iconv_handle; iconv_t iconv_handle;
#endif
FT_BBox line; FT_BBox line;
FT_BBox glyph_size; FT_BBox glyph_size;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment