From 0e642188896c564869bd6446a70e6969b229947d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20Storsj=C3=B6?= Date: Sat, 3 Apr 2010 12:16:33 +0000 Subject: [PATCH] Remove a redundant assignment, found by clang Originally committed as revision 22790 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtsp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index dabfc61..18538c7 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -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)) { -- 2.7.4