changeset 30893:82e3adea8476

Reuse codec path variable used in the binary loader in the XAnim loader.
author diego
date Thu, 18 Mar 2010 23:32:14 +0000
parents e052716dcb5b
children aac2ca51ece0
files libmpcodecs/vd_xanim.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vd_xanim.c	Thu Mar 18 23:02:32 2010 +0000
+++ b/libmpcodecs/vd_xanim.c	Thu Mar 18 23:32:14 2010 +0000
@@ -33,6 +33,7 @@
 #include "mp_msg.h"
 
 #include "vd_internal.h"
+#include "loader/codecpath.h"
 
 static const vd_info_t info = {
 	"XAnim codecs",
@@ -664,7 +665,6 @@
 static int init(sh_video_t *sh)
 {
     vd_xanim_ctx *priv;
-    char *def_path = BINARY_CODECS_PATH;
     char dll[1024];
     XA_CODEC_HDR codec_hdr;
     int i;