Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
d04d403a
Commit
d04d403a
authored
May 16, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix potential segmentation fault
parent
91b52168
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
modules/access/dv.c
modules/access/dv.c
+9
-0
No files found.
modules/access/dv.c
View file @
d04d403a
...
...
@@ -169,6 +169,7 @@ static int Open( vlc_object_t *p_this )
p_sys
->
p_raw1394
=
NULL
;
p_sys
->
p_avc1394
=
NULL
;
p_sys
->
p_frame
=
NULL
;
p_sys
->
p_ev
=
NULL
;
vlc_mutex_init
(
p_access
,
&
p_sys
->
lock
);
...
...
@@ -229,6 +230,14 @@ static int Open( vlc_object_t *p_this )
/* Now create our event thread catcher */
p_sys
->
p_ev
=
vlc_object_create
(
p_access
,
sizeof
(
event_thread_t
)
);
if
(
!
p_sys
->
p_ev
)
{
msg_Err
(
p_access
,
"failed to create event thread for %s"
,
psz_name
);
Close
(
p_this
);
free
(
psz_name
);
return
VLC_EGENERIC
;
}
p_sys
->
p_ev
->
p_frame
=
NULL
;
p_sys
->
p_ev
->
pp_last
=
&
p_sys
->
p_ev
->
p_frame
;
p_sys
->
p_ev
->
p_access
=
p_access
;
...
...
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