2011-10-26 12:59:34 -04:00
|
|
|
$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;
|
2011-04-01 02:52:47 -04:00
|
|
|
|
2011-10-26 12:59:34 -04:00
|
|
|
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))
|
2011-04-01 02:52:47 -04:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2011-10-26 12:59:34 -04:00
|
|
|
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))
|
2011-04-01 02:52:47 -04:00
|
|
|
return false;
|
|
|
|
|
2011-10-26 12:59:34 -04:00
|
|
|
- if (!m_libAvcodec.GetFunction("h263p_encoder", (DynaLink::Function &)Favcodec_h263p_encoder))
|
|
|
|
+ if (!m_libAvcodec.GetFunction("ff_h263p_encoder", (DynaLink::Function &)Favcodec_h263p_encoder))
|
2011-04-01 02:52:47 -04:00
|
|
|
return false;
|
|
|
|
|
2011-10-26 12:59:34 -04:00
|
|
|
- if (!m_libAvcodec.GetFunction("h263_decoder", (DynaLink::Function &)Favcodec_h263_decoder))
|
|
|
|
+ if (!m_libAvcodec.GetFunction("ff_h263_decoder", (DynaLink::Function &)Favcodec_h263_decoder))
|
2011-04-01 02:52:47 -04:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2011-10-26 12:59:34 -04:00
|
|
|
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))
|
2011-04-01 02:52:47 -04:00
|
|
|
return false;
|
|
|
|
|
2011-10-26 12:59:34 -04:00
|
|
|
- if (!m_libAvcodec.GetFunction("mpeg4_decoder", (DynaLink::Function &)mpeg4_decoder))
|
|
|
|
+ if (!m_libAvcodec.GetFunction("ff_mpeg4_decoder", (DynaLink::Function &)mpeg4_decoder))
|
2011-04-01 02:52:47 -04:00
|
|
|
return false;
|
2011-10-26 12:59:34 -04:00
|
|
|
}
|
|
|
|
|