Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
d7cd4a07
Commit
d7cd4a07
authored
Mar 17, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: fixed some stupid bugs.
parent
0a240b82
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
modules/misc/httpd.c
modules/misc/httpd.c
+3
-3
src/stream_output/stream_output.c
src/stream_output/stream_output.c
+6
-2
No files found.
modules/misc/httpd.c
View file @
d7cd4a07
...
...
@@ -2,7 +2,7 @@
* httpd.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.c,v 1.
8 2003/03/15 00:09:31
fenrir Exp $
* $Id: httpd.c,v 1.
9 2003/03/17 23:42:12
fenrir Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -734,7 +734,7 @@ static httpd_stream_t *_RegisterStream( httpd_sys_t *p_httpt,
p_stream
->
pf_get
=
NULL
;
p_stream
->
pf_post
=
NULL
;
p_stream
->
i_buffer_size
=
1024
*
1024
*
10
;
p_stream
->
i_buffer_size
=
1024
*
1024
;
p_stream
->
i_buffer_pos
=
0
;
p_stream
->
i_buffer_last_pos
=
0
;
p_stream
->
p_buffer
=
malloc
(
p_stream
->
i_buffer_size
);
...
...
@@ -863,7 +863,7 @@ static int _SendStream( httpd_sys_t *p_httpt, httpd_stream_t *p_stre
{
int
i_copy
;
i_copy
=
__MIN
(
i_
data
,
p_stream
->
i_buffer_size
-
i_pos
);
i_copy
=
__MIN
(
i_
count
,
p_stream
->
i_buffer_size
-
i_pos
);
memcpy
(
&
p_stream
->
p_buffer
[
i_pos
],
p_data
,
...
...
src/stream_output/stream_output.c
View file @
d7cd4a07
...
...
@@ -2,7 +2,7 @@
* stream_output.c : stream output module
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: stream_output.c,v 1.2
1 2003/03/15 19:26:13
fenrir Exp $
* $Id: stream_output.c,v 1.2
2 2003/03/17 23:42:12
fenrir Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Laurent Aimar <fenrir@via.ecp.fr>
...
...
@@ -243,9 +243,13 @@ void sout_DeleteInstance( sout_instance_t * p_sout )
/* *** remove all muxer *** */
for
(
i
=
0
;
i
<
p_sout
->
i_nb_mux
;
i
++
)
{
sout_access_out_t
*
p_access
;
#define p_mux p_sout->pp_mux[i]
p_access
=
p_mux
->
p_access
;
MuxDelete
(
p_mux
);
sout_AccessOutDelete
(
p_
mux
->
p_
access
);
sout_AccessOutDelete
(
p_access
);
#undef p_mux
}
FREE
(
p_sout
->
pp_mux
);
...
...
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