Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
0121ddab
Commit
0121ddab
authored
Dec 26, 2014
by
Reynaldo H. Verdejo Pinochet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffserver: reflow close_connection()
Signed-off-by:
Reynaldo H. Verdejo Pinochet
<
reynaldo@osg.samsung.com
>
parent
11462236
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
ffserver.c
ffserver.c
+5
-7
No files found.
ffserver.c
View file @
0121ddab
...
@@ -836,13 +836,11 @@ static void close_connection(HTTPContext *c)
...
@@ -836,13 +836,11 @@ static void close_connection(HTTPContext *c)
ctx
=
&
c
->
fmt_ctx
;
ctx
=
&
c
->
fmt_ctx
;
if
(
!
c
->
last_packet_sent
&&
c
->
state
==
HTTPSTATE_SEND_DATA_TRAILER
)
{
if
(
!
c
->
last_packet_sent
&&
c
->
state
==
HTTPSTATE_SEND_DATA_TRAILER
)
{
if
(
ctx
->
oformat
)
{
/* prepare header */
/* prepare header */
if
(
ctx
->
oformat
&&
avio_open_dyn_buf
(
&
ctx
->
pb
)
>=
0
)
{
if
(
avio_open_dyn_buf
(
&
ctx
->
pb
)
>=
0
)
{
av_write_trailer
(
ctx
);
av_write_trailer
(
ctx
);
av_freep
(
&
c
->
pb_buffer
);
av_freep
(
&
c
->
pb_buffer
);
avio_close_dyn_buf
(
ctx
->
pb
,
&
c
->
pb_buffer
);
avio_close_dyn_buf
(
ctx
->
pb
,
&
c
->
pb_buffer
);
}
}
}
}
}
...
...
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