Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6412357f
Commit
6412357f
authored
Nov 17, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pls: remove write-only value
parent
60af6f14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
modules/demux/playlist/pls.c
modules/demux/playlist/pls.c
+1
-9
No files found.
modules/demux/playlist/pls.c
View file @
6412357f
...
...
@@ -78,7 +78,6 @@ void Close_PLS( vlc_object_t *p_this )
static
int
Demux
(
demux_t
*
p_demux
)
{
mtime_t
i_duration
=
-
1
;
char
*
psz_name
=
NULL
;
char
*
psz_line
;
char
*
psz_mrl
=
NULL
;
...
...
@@ -154,7 +153,6 @@ static int Demux( demux_t *p_demux )
}
free
(
psz_name
);
psz_name
=
NULL
;
i_duration
=
-
1
;
i_item
=
i_new_item
;
}
...
...
@@ -177,13 +175,7 @@ static int Demux( demux_t *p_demux )
psz_name
=
strdup
(
psz_value
);
}
else
if
(
!
strncasecmp
(
psz_key
,
"length"
,
sizeof
(
"length"
)
-
1
)
)
{
i_duration
=
atoll
(
psz_value
);
if
(
i_duration
!=
-
1
)
{
i_duration
*=
1000000
;
}
}
/* duration in seconds */
;
else
{
msg_Warn
(
p_demux
,
"unknown key found in pls file: %s"
,
psz_key
);
...
...
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