Skip to content

Commit

Permalink
ffserver: use correct error for stream not found
Browse files Browse the repository at this point in the history
Signed-off-by: Reynaldo H. Verdejo Pinochet <[email protected]>
  • Loading branch information
reynaldo committed Sep 14, 2014
1 parent 8f53742 commit 4c8be33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4c8be33

Please sign in to comment.