diff options
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/dec_audio.c | 6 | ||||
-rw-r--r-- | libmpcodecs/dec_video.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libmpcodecs/dec_audio.c b/libmpcodecs/dec_audio.c index 731b6cff5e..edb7cd9a0c 100644 --- a/libmpcodecs/dec_audio.c +++ b/libmpcodecs/dec_audio.c @@ -160,11 +160,11 @@ int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status){ ad_functions_t *funcs_sym; ad_info_t *info_sym; - buf_len = strlen(LIBDIR)+strlen(sh_audio->codec->drv)+16; + buf_len = strlen(MPLAYER_LIBDIR)+strlen(sh_audio->codec->drv)+16; buf = malloc(buf_len); if (!buf) break; - snprintf(buf, buf_len, "%s/mplayer/ad_%s.so", LIBDIR, sh_audio->codec->drv); + snprintf(buf, buf_len, "%s/mplayer/ad_%s.so", MPLAYER_LIBDIR, sh_audio->codec->drv); mp_msg(MSGT_DECAUDIO, MSGL_DBG2, "Trying to open external plugin: %s\n", buf); sh_audio->dec_handle = dlopen(buf, RTLD_LAZY); if (!sh_audio->dec_handle) @@ -181,7 +181,7 @@ int init_audio(sh_audio_t *sh_audio,char* codecname,char* afm,int status){ free(buf); mpadec = funcs_sym; mp_msg(MSGT_DECAUDIO, MSGL_V, "Using external decoder plugin (%s/mplayer/ad_%s.so)!\n", - LIBDIR, sh_audio->codec->drv); + MPLAYER_LIBDIR, sh_audio->codec->drv); } #endif if(!mpadec){ // driver not available (==compiled in) diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 1d58f62c10..74b005990d 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -187,11 +187,11 @@ int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){ vd_functions_t *funcs_sym; vd_info_t *info_sym; - buf_len = strlen(LIBDIR)+strlen(sh_video->codec->drv)+16; + buf_len = strlen(MPLAYER_LIBDIR)+strlen(sh_video->codec->drv)+16; buf = malloc(buf_len); if (!buf) break; - snprintf(buf, buf_len, "%s/mplayer/vd_%s.so", LIBDIR, sh_video->codec->drv); + snprintf(buf, buf_len, "%s/mplayer/vd_%s.so", MPLAYER_LIBDIR, sh_video->codec->drv); mp_msg(MSGT_DECVIDEO, MSGL_DBG2, "Trying to open external plugin: %s\n", buf); sh_video->dec_handle = dlopen(buf, RTLD_LAZY); if (!sh_video->dec_handle) @@ -207,7 +207,7 @@ int init_video(sh_video_t *sh_video,char* codecname,char* vfm,int status){ free(buf); mpvdec = funcs_sym; mp_msg(MSGT_DECVIDEO, MSGL_V, "Using external decoder plugin (%s/mplayer/vd_%s.so)!\n", - LIBDIR, sh_video->codec->drv); + MPLAYER_LIBDIR, sh_video->codec->drv); } #endif if(!mpvdec){ // driver not available (==compiled in) |