openbsd-ports/net/opal/patches/patch-plugins_video_common_dyna_cxx
2011-10-26 16:59:34 +00:00

37 lines
1.7 KiB
Plaintext

$OpenBSD: patch-plugins_video_common_dyna_cxx,v 1.2 2011/10/26 16:59:34 ajacoutot Exp $
--- plugins/video/common/dyna.cxx.orig Fri Oct 14 08:59:57 2011
+++ plugins/video/common/dyna.cxx Sat Oct 22 12:14:04 2011
@@ -281,26 +281,26 @@ bool FFMPEGLibrary::Load()
return false;
if (m_codec==CODEC_ID_H264) {
- if (!m_libAvcodec.GetFunction("h264_decoder", (DynaLink::Function &)Favcodec_h264_decoder))
+ if (!m_libAvcodec.GetFunction("ff_h264_decoder", (DynaLink::Function &)Favcodec_h264_decoder))
return false;
}
if (m_codec==CODEC_ID_H263P) {
- if (!m_libAvcodec.GetFunction("h263_encoder", (DynaLink::Function &)Favcodec_h263_encoder))
+ if (!m_libAvcodec.GetFunction("ff_h263_encoder", (DynaLink::Function &)Favcodec_h263_encoder))
return false;
- if (!m_libAvcodec.GetFunction("h263p_encoder", (DynaLink::Function &)Favcodec_h263p_encoder))
+ if (!m_libAvcodec.GetFunction("ff_h263p_encoder", (DynaLink::Function &)Favcodec_h263p_encoder))
return false;
- if (!m_libAvcodec.GetFunction("h263_decoder", (DynaLink::Function &)Favcodec_h263_decoder))
+ if (!m_libAvcodec.GetFunction("ff_h263_decoder", (DynaLink::Function &)Favcodec_h263_decoder))
return false;
}
if (m_codec==CODEC_ID_MPEG4) {
- if (!m_libAvcodec.GetFunction("mpeg4_encoder", (DynaLink::Function &)mpeg4_encoder))
+ if (!m_libAvcodec.GetFunction("ff_mpeg4_encoder", (DynaLink::Function &)mpeg4_encoder))
return false;
- if (!m_libAvcodec.GetFunction("mpeg4_decoder", (DynaLink::Function &)mpeg4_decoder))
+ if (!m_libAvcodec.GetFunction("ff_mpeg4_decoder", (DynaLink::Function &)mpeg4_decoder))
return false;
}