Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2014-09-14 02:05:04 +0400
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2014-09-14 04:01:01 +0400
commit4c8be331bcd57559177559d9a704368a31126aa9 (patch)
treea92b7bbf9b75707214d9231cb54454a92981b43f /ffserver.c
parent8f537420ae719d3b8f3b4643540b10b434458dcb (diff)
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: