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
685e76b5
Commit
685e76b5
authored
Mar 22, 2010
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reindent
Originally committed as revision 22635 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b7dc88fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
rtsp.c
libavformat/rtsp.c
+3
-3
No files found.
libavformat/rtsp.c
View file @
685e76b5
...
...
@@ -589,7 +589,7 @@ void ff_rtsp_close_streams(AVFormatContext *s)
url_close_dyn_buf
(
rtpctx
->
pb
,
&
ptr
);
av_free
(
ptr
);
}
else
{
url_fclose
(
rtpctx
->
pb
);
url_fclose
(
rtpctx
->
pb
);
}
av_metadata_free
(
&
rtpctx
->
streams
[
0
]
->
metadata
);
av_metadata_free
(
&
rtpctx
->
metadata
);
...
...
@@ -651,14 +651,14 @@ static void *rtsp_rtp_mux_open(AVFormatContext *s, AVStream *st,
rtpctx
->
streams
[
0
]
->
codec
=
st
->
codec
;
if
(
handle
)
{
url_fdopen
(
&
rtpctx
->
pb
,
handle
);
url_fdopen
(
&
rtpctx
->
pb
,
handle
);
}
else
url_open_dyn_packet_buf
(
&
rtpctx
->
pb
,
RTSP_TCP_MAX_PACKET_SIZE
);
ret
=
av_write_header
(
rtpctx
);
if
(
ret
)
{
if
(
handle
)
{
url_fclose
(
rtpctx
->
pb
);
url_fclose
(
rtpctx
->
pb
);
}
else
{
uint8_t
*
ptr
;
url_close_dyn_buf
(
rtpctx
->
pb
,
&
ptr
);
...
...
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