[FFmpeg-cvslog] rtspdec: Fix return error

Derek Buitenhuis git at videolan.org
Mon Jul 10 22:03:18 EEST 2017


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Thu Jul  6 14:03:58 2017 -0400| [5ca063799c16eb83e52eaca506f5d739b2f3a5ef] | committer: Derek Buitenhuis

rtspdec: Fix return error

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5ca063799c16eb83e52eaca506f5d739b2f3a5ef
---

 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;
 }



More information about the ffmpeg-cvslog mailing list