diff options
author | Martin Storsjö <martin@martin.st> | 2010-04-03 12:16:33 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-04-03 12:16:33 +0000 |
commit | 0e642188896c564869bd6446a70e6969b229947d (patch) | |
tree | 6746c67d853ec2da7354ec49b2d82bb513c4b186 /libavformat/rtsp.c | |
parent | bee694bc4ce2bb25afc50d5d885fab41c990909f (diff) | |
download | ffmpeg-streaming-0e642188896c564869bd6446a70e6969b229947d.zip ffmpeg-streaming-0e642188896c564869bd6446a70e6969b229947d.tar.gz |
Remove a redundant assignment, found by clang
Originally committed as revision 22790 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtsp.c')
-rw-r--r-- | libavformat/rtsp.c | 2 |
1 files changed, 0 insertions, 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)) { |