aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-04-03 12:16:33 +0000
committerMartin Storsjö <martin@martin.st>2010-04-03 12:16:33 +0000
commit0e642188896c564869bd6446a70e6969b229947d (patch)
tree6746c67d853ec2da7354ec49b2d82bb513c4b186
parentbee694bc4ce2bb25afc50d5d885fab41c990909f (diff)
downloadffmpeg-0e642188896c564869bd6446a70e6969b229947d.tar.gz
Remove a redundant assignment, found by clang
Originally committed as revision 22790 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rtsp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index dabfc61db9..18538c78cf 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)) {