From: Mike Brady Date: Thu, 3 Jan 2019 10:48:54 +0000 (+0000) Subject: Fix parsing error with progress 'prgr' metadata X-Git-Tag: 3.3RC0~66^2~99 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c35fb69e33dff6a964e5851aa4cdf0b70b2e0315;p=thirdparty%2Fshairport-sync.git Fix parsing error with progress 'prgr' metadata --- diff --git a/rtsp.c b/rtsp.c index bf0ad370..74d1c54f 100644 --- a/rtsp.c +++ b/rtsp.c @@ -1034,8 +1034,8 @@ void handle_set_parameter_parameter(rtsp_conn_info *conn, rtsp_message *req, } else #ifdef CONFIG_METADATA if (!strncmp(cp, "progress: ", strlen("progress: "))) { - char *progress = cp + strlen("volume: "); - // debug(2, "progress: \"%s\"\n",progress); // rtpstampstart/rtpstampnow/rtpstampend 44100 per + char *progress = cp + strlen("progress: "); + // debug(2, "progress: \"%s\"",progress); // rtpstampstart/rtpstampnow/rtpstampend 44100 per // second send_ssnc_metadata('prgr', strdup(progress), strlen(progress), 1);