Browse Source

ffserver: use correct error for stream not found

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
tags/n2.4
Reynaldo H. Verdejo Pinochet 11 years ago
parent
commit
4c8be331bc
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffserver.c

+ 1
- 1
ffserver.c 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:


Loading…
Cancel
Save