ffserver: use correct error for stream not found

Signed-off-by: 's avatarReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
parent 8f537420
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment