ffserver: use correct error for stream not found

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
Reynaldo H. Verdejo Pinochet 2014-09-13 19:05:04 -03:00
parent 8f537420ae
commit 4c8be331bc
1 changed files with 1 additions and 1 deletions

View File

@ -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: