Remove unused local variables
authorMartin Storsjö <martin@martin.st>
Sat, 5 Jun 2010 19:43:57 +0000 (19:43 +0000)
committerMartin Storsjö <martin@martin.st>
Sat, 5 Jun 2010 19:43:57 +0000 (19:43 +0000)
Originally committed as revision 23496 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c
libavformat/rtspenc.c

index abbb75a..3b066ad 100644 (file)
@@ -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);
index 7dc6a83..0baee1d 100644 (file)
@@ -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);