Remove a redundant assignment, found by clang
authorMartin Storsjö <martin@martin.st>
Sat, 3 Apr 2010 12:16:33 +0000 (12:16 +0000)
committerMartin Storsjö <martin@martin.st>
Sat, 3 Apr 2010 12:16:33 +0000 (12:16 +0000)
Originally committed as revision 22790 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtsp.c

index dabfc61..18538c7 100644 (file)
@@ -1897,8 +1897,6 @@ static int rtsp_read_pause(AVFormatContext *s)
     RTSPState *rt = s->priv_data;
     RTSPMessageHeader reply1, *reply = &reply1;
 
-    rt = s->priv_data;
-
     if (rt->state != RTSP_STATE_STREAMING)
         return 0;
     else if (!(rt->server_type == RTSP_SERVER_REAL && rt->need_subscription)) {