Commit a3aa9847 authored by Laurent Aimar's avatar Laurent Aimar
Browse files

* sub: removed unused variable.

parent 6c8e7167
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* sub.c: subtitle demux for external subtitle files * sub.c: subtitle demux for external subtitle files
***************************************************************************** *****************************************************************************
* Copyright (C) 1999-2004 VideoLAN * Copyright (C) 1999-2004 VideoLAN
* $Id: sub.c,v 1.48 2004/01/27 12:46:46 fenrir Exp $ * $Id: sub.c,v 1.49 2004/01/27 13:10:29 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Derk-Jan Hartman <hartman at videolan dot org> * Derk-Jan Hartman <hartman at videolan dot org>
...@@ -395,7 +395,6 @@ static int sub_open( subtitle_demux_t *p_sub, input_thread_t *p_input, ...@@ -395,7 +395,6 @@ static int sub_open( subtitle_demux_t *p_sub, input_thread_t *p_input,
else if( local_stristr( s, "# VobSub index file" ) ) else if( local_stristr( s, "# VobSub index file" ) )
{ {
i_sub_type = SUB_TYPE_VOBSUB; i_sub_type = SUB_TYPE_VOBSUB;
ps_track_init( p_sub->tk );
break; break;
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* sub.h * sub.h
***************************************************************************** *****************************************************************************
* Copyright (C) 2001-2004 VideoLAN * Copyright (C) 2001-2004 VideoLAN
* $Id: sub.h,v 1.18 2004/01/27 11:57:05 gbazin Exp $ * $Id: sub.h,v 1.19 2004/01/27 13:10:29 fenrir Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* *
...@@ -67,7 +67,6 @@ typedef struct subtitle_demux_s ...@@ -67,7 +67,6 @@ typedef struct subtitle_demux_s
es_out_id_t *p_es; es_out_id_t *p_es;
int i_previously_selected; /* to make pf_seek */ int i_previously_selected; /* to make pf_seek */
FILE *p_vobsub_file; FILE *p_vobsub_file;
ps_track_t tk[PS_TK_COUNT];
} subtitle_demux_t; } subtitle_demux_t;
......
Supports Markdown
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