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
76e25dbc
Commit
76e25dbc
authored
Jul 17, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: remove disabled code
parent
e463f0e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
17 deletions
+0
-17
rtsp.c
libavformat/rtsp.c
+0
-8
rtsp.h
libavformat/rtsp.h
+0
-3
rtspdec.c
libavformat/rtspdec.c
+0
-6
No files found.
libavformat/rtsp.c
View file @
76e25dbc
...
...
@@ -1116,17 +1116,9 @@ int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
}
}
#if 0
/* then try on any port */
if (ffurl_open(&rtsp_st->rtp_handle, "rtp://", AVIO_FLAG_READ) < 0) {
err = AVERROR_INVALIDDATA;
goto fail;
}
#else
av_log
(
s
,
AV_LOG_ERROR
,
"Unable to open an input RTP port
\n
"
);
err
=
AVERROR
(
EIO
);
goto
fail
;
#endif
rtp_opened:
port
=
rtp_get_local_rtp_port
(
rtsp_st
->
rtp_handle
);
...
...
libavformat/rtsp.h
View file @
76e25dbc
...
...
@@ -220,9 +220,6 @@ typedef struct RTSPState {
* see rtsp_read_play() and rtsp_read_seek(). */
int64_t
seek_timestamp
;
/* XXX: currently we use unbuffered input */
// AVIOContext rtsp_gb;
int
seq
;
/**< RTSP command sequence number */
/** copy of RTSPMessageHeader->session_id, i.e. the server-provided session
...
...
libavformat/rtspdec.c
View file @
76e25dbc
...
...
@@ -383,12 +383,6 @@ static int rtsp_read_close(AVFormatContext *s)
{
RTSPState
*
rt
=
s
->
priv_data
;
#if 0
/* NOTE: it is valid to flush the buffer here */
if (rt->lower_transport == RTSP_LOWER_TRANSPORT_TCP) {
avio_close(&rt->rtsp_gb);
}
#endif
ff_rtsp_send_cmd_async
(
s
,
"TEARDOWN"
,
rt
->
control_uri
,
NULL
);
ff_rtsp_close_streams
(
s
);
...
...
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