8640a4ec5f
ok ajacoutot@ (MAINTAINER)
47 lines
2.1 KiB
Plaintext
47 lines
2.1 KiB
Plaintext
$OpenBSD: patch-plugins_video_common_dyna_cxx,v 1.1 2011/04/01 06:52:47 jakemsr Exp $
|
|
--- plugins/video/common/dyna.cxx.orig Thu Mar 31 19:00:39 2011
|
|
+++ plugins/video/common/dyna.cxx Thu Mar 31 19:11:01 2011
|
|
@@ -236,36 +236,36 @@ bool FFMPEGLibrary::Load(int ver)
|
|
}
|
|
|
|
if (_codec==CODEC_ID_H264) {
|
|
- if (!libAvcodec.GetFunction("h264_decoder", (DynaLink::Function &)Favcodec_h264_decoder)) {
|
|
+ if (!libAvcodec.GetFunction("ff_h264_decoder", (DynaLink::Function &)Favcodec_h264_decoder)) {
|
|
TRACE (1, _codecString << "\tDYNA\tFailed to load h264_decoder");
|
|
return false;
|
|
}
|
|
}
|
|
|
|
if (_codec==CODEC_ID_H263P) {
|
|
- if (!libAvcodec.GetFunction("h263_encoder", (DynaLink::Function &)Favcodec_h263_encoder)) {
|
|
+ if (!libAvcodec.GetFunction("ff_h263_encoder", (DynaLink::Function &)Favcodec_h263_encoder)) {
|
|
TRACE (1, _codecString << "\tDYNA\tFailed to load h263_encoder" );
|
|
return false;
|
|
}
|
|
|
|
- if (!libAvcodec.GetFunction("h263p_encoder", (DynaLink::Function &)Favcodec_h263p_encoder)) {
|
|
+ if (!libAvcodec.GetFunction("ff_h263p_encoder", (DynaLink::Function &)Favcodec_h263p_encoder)) {
|
|
TRACE (1, _codecString << "\tDYNA\tFailed to load h263p_encoder" );
|
|
return false;
|
|
}
|
|
|
|
- if (!libAvcodec.GetFunction("h263_decoder", (DynaLink::Function &)Favcodec_h263_decoder)) {
|
|
+ if (!libAvcodec.GetFunction("ff_h263_decoder", (DynaLink::Function &)Favcodec_h263_decoder)) {
|
|
TRACE (1, _codecString << "\tDYNA\tFailed to load h263_decoder" );
|
|
return false;
|
|
}
|
|
}
|
|
|
|
if (_codec==CODEC_ID_MPEG4) {
|
|
- if (!libAvcodec.GetFunction("mpeg4_encoder", (DynaLink::Function &)mpeg4_encoder)) {
|
|
+ if (!libAvcodec.GetFunction("ff_mpeg4_encoder", (DynaLink::Function &)mpeg4_encoder)) {
|
|
TRACE (1, _codecString << "\tDYNA\tFailed to load mpeg4_encoder");
|
|
return false;
|
|
}
|
|
|
|
- if (!libAvcodec.GetFunction("mpeg4_decoder", (DynaLink::Function &)mpeg4_decoder)) {
|
|
+ if (!libAvcodec.GetFunction("ff_mpeg4_decoder", (DynaLink::Function &)mpeg4_decoder)) {
|
|
TRACE (1, _codecString << "\tDYNA\tFailed to load mpeg4_decoder");
|
|
return false;
|
|
}
|