[FFmpeg-devel] [PATCH 10/12] rtspdec: Fix return error
Derek Buitenhuis
derek.buitenhuis at gmail.com
Thu Jul 6 21:28:40 EEST 2017
Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
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;
}
--
2.11.0
More information about the ffmpeg-devel
mailing list