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
052cbf99
Commit
052cbf99
authored
Nov 02, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mjpeg demux: revert part of [16975]. This was not a mem leak, we are remembering the seperator.
parent
ae8d238c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/demux/mjpeg.c
modules/demux/mjpeg.c
+5
-2
No files found.
modules/demux/mjpeg.c
View file @
052cbf99
...
...
@@ -202,7 +202,9 @@ static vlc_bool_t CheckMimeHeader( demux_t *p_demux, int *p_header_size )
*
p_header_size
=
-
3
;
return
VLC_FALSE
;
}
if
(
NULL
==
p_sys
->
psz_separator
)
/* Read the separator and remember it if not yet stored */
if
(
p_sys
->
psz_separator
==
NULL
)
{
p_sys
->
psz_separator
=
psz_line
;
msg_Dbg
(
p_demux
,
"Multipart MIME detected, using separator: %s"
,
...
...
@@ -215,8 +217,9 @@ static vlc_bool_t CheckMimeHeader( demux_t *p_demux, int *p_header_size )
msg_Warn
(
p_demux
,
"separator %s does not match %s"
,
psz_line
,
p_sys
->
psz_separator
);
}
}
free
(
psz_line
);
}
psz_line
=
GetLine
(
p_demux
,
&
i_pos
);
while
(
psz_line
&&
*
psz_line
)
{
...
...
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