summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/rtsp.c1
-rw-r--r--libavformat/rtspenc.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index abbb75af67..3b066adac0 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1638,7 +1638,6 @@ redirect:
static int rtsp_read_header(AVFormatContext *s,
AVFormatParameters *ap)
{
- RTSPState *rt = s->priv_data;
int ret;
ret = ff_rtsp_connect(s);
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c
index 7dc6a83388..0baee1d14b 100644
--- a/libavformat/rtspenc.c
+++ b/libavformat/rtspenc.c
@@ -48,7 +48,6 @@ static int rtsp_write_record(AVFormatContext *s)
static int rtsp_write_header(AVFormatContext *s)
{
- RTSPState *rt = s->priv_data;
int ret;
ret = ff_rtsp_connect(s);