[FFmpeg-cvslog] ffserver: use correct error for stream not found

Reynaldo H. Verdejo Pinochet git at videolan.org
Sun Sep 14 02:01:58 CEST 2014


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> | Sat Sep 13 19:05:04 2014 -0300| [4c8be331bcd57559177559d9a704368a31126aa9] | committer: Reynaldo H. Verdejo Pinochet

ffserver: use correct error for stream not found

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>

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

 ffserver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffserver.c b/ffserver.c
index dc7c5f2..3d42f62 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3051,7 +3051,7 @@ static void rtsp_cmd_describe(HTTPContext *c, const char *url)
         }
     }
     /* no stream found */
-    rtsp_reply_error(c, RTSP_STATUS_SERVICE); /* XXX: right error ? */
+    rtsp_reply_error(c, RTSP_STATUS_NOT_FOUND);
     return;
 
  found:



More information about the ffmpeg-cvslog mailing list