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
7597d750
Commit
7597d750
authored
Apr 15, 2005
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playlist: fixed two more occurences of the previous error
parent
7df5cf2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/playlist/item-ext.c
src/playlist/item-ext.c
+1
-1
src/playlist/view.c
src/playlist/view.c
+1
-1
No files found.
src/playlist/item-ext.c
View file @
7597d750
...
@@ -632,7 +632,7 @@ int playlist_Delete( playlist_t * p_playlist, int i_id )
...
@@ -632,7 +632,7 @@ int playlist_Delete( playlist_t * p_playlist, int i_id )
}
}
var_SetInteger
(
p_playlist
,
"item-deleted"
,
i_id
);
var_SetInteger
(
p_playlist
,
"item-deleted"
,
i_id
);
i_bottom
=
0
;
i_top
=
p_playlist
->
i_all_size
;
i_bottom
=
0
;
i_top
=
p_playlist
->
i_all_size
-
1
;
i
=
i_top
/
2
;
i
=
i_top
/
2
;
while
(
p_playlist
->
pp_all_items
[
i
]
->
input
.
i_id
!=
i_id
&&
while
(
p_playlist
->
pp_all_items
[
i
]
->
input
.
i_id
!=
i_id
&&
i_top
>
i_bottom
)
i_top
>
i_bottom
)
...
...
src/playlist/view.c
View file @
7597d750
...
@@ -400,7 +400,7 @@ int playlist_NodeDelete( playlist_t *p_playlist, playlist_item_t *p_root,
...
@@ -400,7 +400,7 @@ int playlist_NodeDelete( playlist_t *p_playlist, playlist_item_t *p_root,
}
}
var_SetInteger
(
p_playlist
,
"item-deleted"
,
p_root
->
input
.
i_id
);
var_SetInteger
(
p_playlist
,
"item-deleted"
,
p_root
->
input
.
i_id
);
i_bottom
=
0
;
i_top
=
p_playlist
->
i_all_size
;
i_bottom
=
0
;
i_top
=
p_playlist
->
i_all_size
-
1
;
i
=
i_top
/
2
;
i
=
i_top
/
2
;
while
(
p_playlist
->
pp_all_items
[
i
]
->
input
.
i_id
!=
p_root
->
input
.
i_id
&&
while
(
p_playlist
->
pp_all_items
[
i
]
->
input
.
i_id
!=
p_root
->
input
.
i_id
&&
i_top
>
i_bottom
)
i_top
>
i_bottom
)
...
...
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