Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
d675fdfc
Commit
d675fdfc
authored
Feb 22, 2004
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure a couple of variables are initialized before
reading. (caught by valgrind).
parent
3ba2ac17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/access/vcdx/access.c
modules/access/vcdx/access.c
+5
-3
No files found.
modules/access/vcdx/access.c
View file @
d675fdfc
...
...
@@ -4,7 +4,7 @@
* to go here.
*****************************************************************************
* Copyright (C) 2000, 2003, 2004 VideoLAN
* $Id: access.c,v 1.
19 2004/02/19 02:05:12
rocky Exp $
* $Id: access.c,v 1.
20 2004/02/22 09:35:48
rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Johan Bilien <jobi@via.ecp.fr>
...
...
@@ -340,8 +340,8 @@ VCDSetArea( input_thread_t * p_input, input_area_t * p_area )
{
VCDUpdateVar
(
p_input
,
i
,
VLC_VAR_ADDCHOICE
,
"chapter"
,
p_vcd
->
play_item
.
type
==
VCDINFO_ITEM_TYPE_
ENTRY
?
_
(
"
Entry"
)
:
_
(
"Segment"
),
p_vcd
->
play_item
.
type
==
VCDINFO_ITEM_TYPE_
SEGMENT
?
_
(
"
Segment"
)
:
_
(
"Entry"
),
"Adding entry choice"
);
}
...
...
@@ -1458,6 +1458,8 @@ E_(Open) ( vlc_object_t *p_this )
p_input
->
p_access_data
=
(
void
*
)
p_vcd
;
p_vcd
->
i_debug
=
config_GetInt
(
p_this
,
MODULE_STRING
"-debug"
);
p_vcd
->
in_still
=
false
;
p_vcd
->
play_item
.
type
=
VCDINFO_ITEM_TYPE_NOTFOUND
;
/* Set where to log errors messages from libcdio. */
p_vcd_input
=
(
input_thread_t
*
)
p_this
;
...
...
Write
Preview
Markdown
is supported
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