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
cb45b4c5
Commit
cb45b4c5
authored
Jun 23, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/demux/m3u.c: allocate buffer for stream_Read().
* src/input/stream.c: fixed detection of EOF.
parent
9ef9462d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
51 deletions
+65
-51
modules/demux/m3u.c
modules/demux/m3u.c
+1
-3
src/input/stream.c
src/input/stream.c
+64
-48
No files found.
modules/demux/m3u.c
View file @
cb45b4c5
...
...
@@ -597,7 +597,7 @@ static int Demux( demux_t *p_demux )
demux_sys_t
*
p_m3u
=
p_demux
->
p_sys
;
char
psz_line
[
MAX_LINE
];
char
*
p_buf
=
0
,
eol_tok
;
char
p_buf
[
MAX_LINE
]
,
eol_tok
;
int
i_size
,
i_bufpos
,
i_linepos
=
0
;
playlist_t
*
p_playlist
;
vlc_bool_t
b_discard
=
VLC_FALSE
;
...
...
@@ -669,8 +669,6 @@ static int Demux( demux_t *p_demux )
ProcessLine
(
p_demux
,
p_playlist
,
psz_line
,
&
psz_uri
,
&
psz_name
,
&
i_options
,
&
ppsz_options
,
&
i_position
);
}
free
(
p_buf
);
}
if
(
i_linepos
&&
b_discard
!=
VLC_TRUE
&&
eol_tok
==
'\n'
)
...
...
src/input/stream.c
View file @
cb45b4c5
This diff is collapsed.
Click to expand it.
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