openbsd-ports/net/openh323/patches/patch-src_mediafmt_cxx
ajacoutot 22a8a5a4b3 - major upgrade to openh323-1.19.0.1
- install version.h
- H323Capabilities patch from FreeBSD
- make it compile with new pwlib
2008-03-15 17:38:43 +00:00

13 lines
641 B
Plaintext

$OpenBSD: patch-src_mediafmt_cxx,v 1.1 2008/03/15 17:38:43 ajacoutot Exp $
--- src/mediafmt.cxx.orig Tue Mar 4 10:56:40 2008
+++ src/mediafmt.cxx Tue Mar 4 10:56:49 2008
@@ -395,7 +395,7 @@ OpalMediaFormat::OpalMediaFormat(const char * search,
OpalMediaFormatFactory::KeyMap_T & keyMap = OpalMediaFormatFactory::GetKeyMap();
OpalMediaFormatFactory::KeyMap_T::const_iterator r;
for (r = keyMap.begin(); r != keyMap.end(); ++r) {
- if (r->first.Find(search) != P_MAX_INDEX) {
+ if (r->first.find(search) != P_MAX_INDEX) {
*this = *OpalMediaFormatFactory::CreateInstance(r->first);
break;
}