summaryrefslogtreecommitdiff
path: root/audio/faad2/patches/patch-ae
blob: 1cfb40dcc19144fc66922a87e6d2b1bae3747d85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ae,v 1.1 2004/05/15 13:02:33 grant Exp $

--- common/mp4v2/rtphint.cpp.orig	2003-06-30 07:41:00.000000000 +1000
+++ common/mp4v2/rtphint.cpp
@@ -321,8 +321,8 @@ void MP4RtpHintTrack::GetPayload(
 	  if (ppEncodingParams)
 	    *ppEncodingParams = NULL;
 		if (m_pRtpMapProperty) {
-			const char* pRtpMap = m_pRtpMapProperty->GetValue();
-			char* pSlash = strchr(pRtpMap, '/');
+			const char* pRtpMap = (const char *)m_pRtpMapProperty->GetValue();
+			char* pSlash = (char *)strchr(pRtpMap, '/');
 
 			u_int32_t length;
 			if (pSlash) {