ffserver: use correct error for stream not found

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
pull/88/head
Reynaldo H. Verdejo Pinochet 10 years ago
parent 8f537420ae
commit 4c8be331bc
  1. 2
      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:

Loading…
Cancel
Save