Commit cfd8992a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* extra data has changed and was crashing.

parent 9b61c0aa
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* subsdec.c : text subtitles decoder * subsdec.c : text subtitles decoder
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: subsdec.c,v 1.5 2003/11/05 00:39:16 gbazin Exp $ * $Id: subsdec.c,v 1.6 2003/11/15 15:40:19 hartman Exp $
* *
* Authors: Gildas Bazin <gbazin@netcourrier.com> * Authors: Gildas Bazin <gbazin@netcourrier.com>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -110,7 +110,7 @@ vlc_module_begin(); ...@@ -110,7 +110,7 @@ vlc_module_begin();
VLC_TRUE ); VLC_TRUE );
change_integer_list( pi_justification, ppsz_justification_text, 0 ); change_integer_list( pi_justification, ppsz_justification_text, 0 );
#if defined(HAVE_ICONV) #if defined(HAVE_ICONV)
add_string( "subsdec-encoding", DEFAULT_NAME, NULL, add_string( "subsdec-encoding", "UTF-8", NULL,
ENCODING_TEXT, ENCODING_LONGTEXT, VLC_FALSE ); ENCODING_TEXT, ENCODING_LONGTEXT, VLC_FALSE );
change_string_list( ppsz_encodings, 0, 0 ); change_string_list( ppsz_encodings, 0, 0 );
#endif #endif
...@@ -186,7 +186,7 @@ static int InitDecoder( decoder_t *p_dec ) ...@@ -186,7 +186,7 @@ static int InitDecoder( decoder_t *p_dec )
msg_Dbg( p_dec, "No iconv support available" ); msg_Dbg( p_dec, "No iconv support available" );
#endif #endif
#if 1 #if 0
if( p_demux_data ) if( p_demux_data )
msg_Dbg( p_dec, p_demux_data->psz_header ); msg_Dbg( p_dec, p_demux_data->psz_header );
#endif #endif
......
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