Options value parsing fix

This commit is contained in:
HexJacaranda 2023-02-11 21:25:09 +08:00 • committed by Cameron Gutman
commit 5e14dbc15e

View file

@ -160,7 +160,7 @@ int parseRtspMessage(PRTSP_MESSAGE msg, char* rtspMessage, int length) {
} }
newOpt->flags = 0; newOpt->flags = 0;
newOpt->option = opt; newOpt->option = opt;
newOpt->content = token; newOpt->content = token + 1; // Skip the protocol defined blank space
newOpt->next = NULL; newOpt->next = NULL;
insertOption(&options, newOpt); insertOption(&options, newOpt);