aboutsummaryrefslogtreecommitdiff
path: root/libavformat/rtspdec.c
diff options
context:
space:
mode:
authorDerek Buitenhuis2017-07-06 14:03:58 -0400
committerDerek Buitenhuis2017-07-10 15:02:29 -0400
commit5ca063799c16eb83e52eaca506f5d739b2f3a5ef (patch)
tree623fefad17accc64259d1eb5a600fd042a350729 /libavformat/rtspdec.c
parentc64da19bbc1d3b405703ef3b705dba39a450504f (diff)
rtspdec: Fix return error
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r--libavformat/rtspdec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index 0cb8f53a4c..fdf75a0979 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -498,7 +498,6 @@ int ff_rtsp_parse_streaming_commands(AVFormatContext *s)
} else if (methodcode == TEARDOWN) {
rt->state = RTSP_STATE_IDLE;
ret = rtsp_send_reply(s, RTSP_STATUS_OK, NULL , request.seq);
- return 0;
}
return ret;
}