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
c234975d
Commit
c234975d
authored
Mar 18, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/playlist/playlist.c: fixed misplaced variable declaration.
parent
5a950285
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/playlist/playlist.c
src/playlist/playlist.c
+4
-4
No files found.
src/playlist/playlist.c
View file @
c234975d
...
...
@@ -2,7 +2,7 @@
* playlist.c : Playlist management functions
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
* $Id: playlist.c,v 1.3
3 2003/03/17 17:10:21 hartma
n Exp $
* $Id: playlist.c,v 1.3
4 2003/03/18 00:49:14 gbazi
n Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
*
...
...
@@ -314,6 +314,8 @@ int playlist_Move( playlist_t * p_playlist, int i_pos, int i_newpos)
if
(
i_pos
>=
0
&&
i_newpos
>=
0
&&
i_pos
<=
p_playlist
->
i_size
&&
i_newpos
<=
p_playlist
->
i_size
)
{
playlist_item_t
*
temp
;
msg_Dbg
(
p_playlist
,
"moving playlist item %s "
,
p_playlist
->
pp_items
[
i_pos
]
->
psz_name
);
...
...
@@ -329,11 +331,9 @@ int playlist_Move( playlist_t * p_playlist, int i_pos, int i_newpos)
{
p_playlist
->
i_index
--
;
}
playlist_item_t
*
temp
;
if
(
i_pos
<
i_newpos
)
{
temp
=
p_playlist
->
pp_items
[
i_pos
];
while
(
i_pos
<
i_newpos
)
{
...
...
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