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
2b2d6c22
Commit
2b2d6c22
authored
Feb 22, 2011
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stream_filter/httplive.c: Fix bug that terminated reading an M3U8 prematurely.
Fix bug that terminated reading an M3U8 prematurely.
parent
5c78dcbe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/stream_filter/httplive.c
modules/stream_filter/httplive.c
+2
-2
No files found.
modules/stream_filter/httplive.c
View file @
2b2d6c22
/*****************************************************************************
/*****************************************************************************
* httplive.c: HTTP Live Streaming stream filter
* httplive.c: HTTP Live Streaming stream filter
*****************************************************************************
*****************************************************************************
* Copyright (C) 2010 M2X BV
* Copyright (C) 2010
-2011
M2X BV
* $Id$
* $Id$
*
*
* Author: Jean-Paul Saman <jpsaman _AT_ videolan _DOT_ org>
* Author: Jean-Paul Saman <jpsaman _AT_ videolan _DOT_ org>
...
@@ -1400,7 +1400,7 @@ static ssize_t access_ReadM3U8(stream_t *s, vlc_url_t *url, uint8_t **buffer)
...
@@ -1400,7 +1400,7 @@ static ssize_t access_ReadM3U8(stream_t *s, vlc_url_t *url, uint8_t **buffer)
do
do
{
{
length
=
p_sys
->
p_access
->
pf_read
(
p_sys
->
p_access
,
*
buffer
+
curlen
,
size
-
curlen
);
length
=
p_sys
->
p_access
->
pf_read
(
p_sys
->
p_access
,
*
buffer
+
curlen
,
size
-
curlen
);
if
(
(
length
<=
0
)
||
(
length
>=
size
)
)
if
(
length
<=
0
)
break
;
break
;
curlen
+=
length
;
curlen
+=
length
;
if
(
curlen
>=
size
)
if
(
curlen
>=
size
)
...
...
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