[MPlayer-dev-eng] [PATCH] load dlls always from WIN32_PATH

Diego Biurrun diego at biurrun.de
Mon May 26 22:08:57 CEST 2003


Sascha Sommer wrote:
> This patch changes the remaining LoadLibrarys() to load
> dlls from WIN32_PATH.
> While this was already the case for acm and vfw codecs it wasn't for
> quicktime, dshow and dmo codecs.
> I hope that this won't break anything for Linux.

It breaks Cygwin for me, though:

==========================================================================
Opening audio decoder: [qtaudio] QuickTime Audio Decoder
win32 libquicktime loader (c) Sascha Sommer
failed loading dll
ADecoder preinit failed :(
ADecoder init failed :(
get_path('codecs.conf') -> '/home/Administrator/.mplayer/codecs.conf'
*** Try to upgrade /home/Administrator/.mplayer/codecs.conf from 
etc/codecs.conf

*** If it still does not work, read DOCS/codecs.html!
Cannot find codec for audio format 0x324D4451.
==========================================================================
Trying to force video codec driver family qtvideo ...
Opening video decoder: [qtvideo] Quicktime Video decoder
invalid qt DLL!
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffsvq3] vfm:ffmpeg (FFmpeg SVQ3)
==========================================================================

After the changes to ad_qtaudio.c and vd_qtvideo.c my QT DLLs fail to 
load.  It works without the patch.

Diego




More information about the MPlayer-dev-eng mailing list