mirror of https://git.ffmpeg.org/ffmpeg.git
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
|
@ -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…
Reference in New Issue