From 5e14dbc15ecad6a635726d13ad5574d9b1fbdf6b Mon Sep 17 00:00:00 2001 From: HexJacaranda Date: Sat, 11 Feb 2023 21:25:09 +0800 Subject: [PATCH] Options value parsing fix --- src/RtspParser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RtspParser.c b/src/RtspParser.c index 345b0f4..ea47bf6 100644 --- a/src/RtspParser.c +++ b/src/RtspParser.c @@ -160,7 +160,7 @@ int parseRtspMessage(PRTSP_MESSAGE msg, char* rtspMessage, int length) { } newOpt->flags = 0; newOpt->option = opt; - newOpt->content = token; + newOpt->content = token + 1; // Skip the protocol defined blank space newOpt->next = NULL; insertOption(&options, newOpt);