From 5ca063799c16eb83e52eaca506f5d739b2f3a5ef Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Thu, 6 Jul 2017 14:03:58 -0400 Subject: [PATCH] rtspdec: Fix return error Signed-off-by: Derek Buitenhuis --- libavformat/rtspdec.c | 1 - 1 file changed, 1 deletion(-) 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; }