summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2014-09-13 19:05:04 -0300
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2014-09-13 21:01:01 -0300
commit4c8be331bcd57559177559d9a704368a31126aa9 (patch)
treea92b7bbf9b75707214d9231cb54454a92981b43f /ffserver.c
parent8f537420ae719d3b8f3b4643540b10b434458dcb (diff)
downloadffmpeg-4c8be331bcd57559177559d9a704368a31126aa9.tar.gz
ffserver: use correct error for stream not found
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index dc7c5f2f76..3d42f62dec 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: