Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
dc6ed6d9
Commit
dc6ed6d9
authored
Jan 16, 2006
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix segmentation fault in core and use of non-initialised variable compiler warning.
parent
58141c3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/input/input.c
src/input/input.c
+5
-6
No files found.
src/input/input.c
View file @
dc6ed6d9
...
...
@@ -107,7 +107,7 @@ static vlc_meta_t *InputMetaUser( input_thread_t *p_input );
static
input_thread_t
*
Create
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
,
char
*
psz_header
,
vlc_bool_t
b_quick
)
{
input_thread_t
*
p_input
;
/* thread descriptor */
input_thread_t
*
p_input
=
NULL
;
/* thread descriptor */
vlc_value_t
val
;
int
i
;
...
...
@@ -242,7 +242,7 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
input_thread_t
*
__input_CreateThread
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
)
{
__input_CreateThread2
(
p_parent
,
p_item
,
NULL
);
return
__input_CreateThread2
(
p_parent
,
p_item
,
NULL
);
}
...
...
@@ -251,7 +251,7 @@ input_thread_t *__input_CreateThread2( vlc_object_t *p_parent,
input_item_t
*
p_item
,
char
*
psz_header
)
{
input_thread_t
*
p_input
;
/* thread descriptor */
input_thread_t
*
p_input
=
NULL
;
/* thread descriptor */
p_input
=
Create
(
p_parent
,
p_item
,
psz_header
,
VLC_FALSE
);
/* Now we can attach our new input */
...
...
@@ -283,7 +283,7 @@ input_thread_t *__input_CreateThread2( vlc_object_t *p_parent,
int
__input_Read
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
,
vlc_bool_t
b_block
)
{
input_thread_t
*
p_input
;
/* thread descriptor */
input_thread_t
*
p_input
=
NULL
;
/* thread descriptor */
p_input
=
Create
(
p_parent
,
p_item
,
NULL
,
VLC_FALSE
);
/* Now we can attach our new input */
...
...
@@ -318,7 +318,7 @@ int __input_Read( vlc_object_t *p_parent, input_item_t *p_item,
*/
int
__input_Preparse
(
vlc_object_t
*
p_parent
,
input_item_t
*
p_item
)
{
input_thread_t
*
p_input
;
/* thread descriptor */
input_thread_t
*
p_input
=
NULL
;
/* thread descriptor */
/* Allocate descriptor */
p_input
=
Create
(
p_parent
,
p_item
,
NULL
,
VLC_TRUE
);
...
...
@@ -415,7 +415,6 @@ void input_DestroyThread( input_thread_t *p_input )
*****************************************************************************/
static
int
Run
(
input_thread_t
*
p_input
)
{
/* Signal that the thread is launched */
vlc_thread_ready
(
p_input
);
...
...
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