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
6bfea2fc
Commit
6bfea2fc
authored
Aug 03, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
This dichotomy code apparently still is buggy. Todo: redo it
parent
4ecc5ff7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
src/input/item.c
src/input/item.c
+11
-1
No files found.
src/input/item.c
View file @
6bfea2fc
...
...
@@ -76,11 +76,11 @@ static void vlc_input_item_Destroy ( gc_object_t *p_this )
playlist_t
*
p_playlist
=
(
playlist_t
*
)
vlc_object_find
(
p_obj
,
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
vlc_input_item_Clean
(
p_input
);
if
(
p_playlist
)
{
#if 0
i_bottom = 0; i_top = p_playlist->i_input_items - 1;
i = i_top / 2;
while( p_playlist->pp_input_items[i]->i_id != p_input->i_id &&
...
...
@@ -99,6 +99,16 @@ static void vlc_input_item_Destroy ( gc_object_t *p_this )
REMOVE_ELEM( p_playlist->pp_input_items,
p_playlist->i_input_items, i );
}
#endif
for
(
i
=
0
;
i
<
p_playlist
->
pp_input_items
[
i
]
;
i
++
)
{
if
(
p_playlist
->
pp_input_items
[
i
]
->
i_id
==
p_input
->
i_id
)
{
REMOVE_ELEM
(
p_playlist
->
pp_input_items
,
p_playlist
->
i_input_items
,
i
);
break
;
}
}
vlc_object_release
(
p_playlist
);
}
free
(
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