rtsp: Use session header also for the options cmd
This commit is contained in:
parent
67d1f18164
commit
fbe885b79d
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ rtsp_send( http_client_t *hc, http_cmd_t cmd,
|
|||
size_t blen = 7 + strlen(hc->hc_host) + (path ? strlen(path) : 1) + 1;
|
||||
char *buf = alloca(blen);
|
||||
|
||||
if (hc->hc_rtsp_session && cmd != RTSP_CMD_OPTIONS) {
|
||||
if (hc->hc_rtsp_session) {
|
||||
if (hdr == NULL) {
|
||||
hdr = &h;
|
||||
http_arg_init(&h);
|
||||
|
|
Loading…
Add table
Reference in a new issue