ffserver: use correct error for stream not found
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
parent
8f537420ae
commit
4c8be331bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue