Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
8e47fe81
Commit
8e47fe81
authored
Feb 02, 2004
by
Laurent Aimar
Browse files
* input: gcc < 3 fix.
parent
f40faf69
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/input/input.c
View file @
8e47fe81
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* decoders.
* decoders.
*****************************************************************************
*****************************************************************************
* Copyright (C) 1998-2004 VideoLAN
* Copyright (C) 1998-2004 VideoLAN
* $Id: input.c,v 1.28
5
2004/0
1/31 05:25:36
fenrir Exp $
* $Id: input.c,v 1.28
6
2004/0
2/02 12:58:29
fenrir Exp $
*
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
*
...
@@ -879,8 +879,9 @@ static int InitThread( input_thread_t * p_input )
...
@@ -879,8 +879,9 @@ static int InitThread( input_thread_t * p_input )
var_Get
(
p_input
,
"sub-file"
,
&
val
);
var_Get
(
p_input
,
"sub-file"
,
&
val
);
if
(
val
.
psz_string
&&
*
val
.
psz_string
)
if
(
val
.
psz_string
&&
*
val
.
psz_string
)
{
{
msg_Dbg
(
p_input
,
"force subtitle: %s"
,
val
.
psz_string
);
subtitle_demux_t
*
p_sub
;
subtitle_demux_t
*
p_sub
;
msg_Dbg
(
p_input
,
"force subtitle: %s"
,
val
.
psz_string
);
if
(
(
p_sub
=
subtitle_New
(
p_input
,
strdup
(
val
.
psz_string
),
if
(
(
p_sub
=
subtitle_New
(
p_input
,
strdup
(
val
.
psz_string
),
i_microsecondperframe
)
)
)
i_microsecondperframe
)
)
)
{
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment