head 1.2; access; symbols pkgsrc-2021Q1:1.1.0.4 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.2 pkgsrc-2020Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2021.04.13.16.32.09; author adam; state dead; branches; next 1.1; commitid gWK1YdrHwO6ar9PC; 1.1 date 2020.12.17.09.16.42; author triaxx; state Exp; branches; next ; commitid ESbB60qvej03N4AC; desc @@ 1.2 log @mp4v2: updated to 4.1.6 4.1.6: Unknown changes @ text @$NetBSD: patch-src_rtphint.cpp,v 1.1 2020/12/17 09:16:42 triaxx Exp $ Fix forbidden comparison between pointer and integer (Github pull request #42). --- src/rtphint.cpp.orig 2020-12-07 23:16:32.000000000 +0000 +++ src/rtphint.cpp @@@@ -339,7 +339,7 @@@@ void MP4RtpHintTrack::GetPayload( pSlash = strchr(pSlash, '/'); if (pSlash != NULL) { pSlash++; - if (pSlash != '\0') { + if (*pSlash != '\0') { length = (uint32_t)strlen(pRtpMap) - (pSlash - pRtpMap); *ppEncodingParams = (char *)MP4Calloc(length + 1); strncpy(*ppEncodingParams, pSlash, length); @ 1.1 log @mp4v2: Add forgotten patch @ text @d1 1 a1 1 $NetBSD$ @