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
5adf43c6
Commit
5adf43c6
authored
Sep 16, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix crash
parent
e12ddbf2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
src/playlist/control.c
src/playlist/control.c
+1
-1
src/playlist/tree.c
src/playlist/tree.c
+7
-2
No files found.
src/playlist/control.c
View file @
5adf43c6
...
@@ -358,7 +358,7 @@ end:
...
@@ -358,7 +358,7 @@ end:
/* Start the real work */
/* Start the real work */
if
(
p_playlist
->
request
.
b_request
)
if
(
p_playlist
->
request
.
b_request
)
{
{
PL_DEBUG
(
"processing request
node %s item
%s skip %i"
,
PL_DEBUG
(
"processing request
item %s node
%s skip %i"
,
PLI_NAME
(
p_playlist
->
request
.
p_item
),
PLI_NAME
(
p_playlist
->
request
.
p_item
),
PLI_NAME
(
p_playlist
->
request
.
p_node
),
i_skip
);
PLI_NAME
(
p_playlist
->
request
.
p_node
),
i_skip
);
p_new
=
p_playlist
->
request
.
p_item
;
p_new
=
p_playlist
->
request
.
p_item
;
...
...
src/playlist/tree.c
View file @
5adf43c6
...
@@ -664,9 +664,14 @@ playlist_item_t *GetPrevItem( playlist_t *p_playlist,
...
@@ -664,9 +664,14 @@ playlist_item_t *GetPrevItem( playlist_t *p_playlist,
if
(
i
-
1
<
0
)
if
(
i
-
1
<
0
)
{
{
/* Was already the first sibling. Look for uncles */
/* Was already the first sibling. Look for uncles */
PL_DEBUG
(
"
Current item is the first of the
node,"
PL_DEBUG
(
"
current item is the first of its
node,"
"looking for uncle from %s"
,
"looking for uncle from %s"
,
p_parent
->
p_input
->
psz_name
);
p_parent
->
p_input
->
psz_name
);
if
(
p_parent
==
p_root
)
{
PL_DEBUG
(
"already at root"
);
return
NULL
;
}
return
GetPrevUncle
(
p_playlist
,
p_item
,
p_root
);
return
GetPrevUncle
(
p_playlist
,
p_item
,
p_root
);
}
}
else
else
...
...
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