comparison libmpcodecs/vd_xanim.c @ 30907:b32527b30d17

Get rid of pointless def_path variable; use codec_path directly instead.
author diego
date Tue, 23 Mar 2010 18:01:00 +0000
parents 76a13038105e
children 4500ce87a70c
comparison
equal deleted inserted replaced
30906:a34f16fb8823 30907:b32527b30d17
680 priv->dec_func = NULL; 680 priv->dec_func = NULL;
681 681
682 for (i=0; i < XA_CLOSE_FUNCS; i++) 682 for (i=0; i < XA_CLOSE_FUNCS; i++)
683 xa_close_func[i] = NULL; 683 xa_close_func[i] = NULL;
684 684
685 snprintf(dll, 1024, "%s/%s", def_path, sh->codec->dll); 685 snprintf(dll, 1024, "%s/%s", codec_path, sh->codec->dll);
686 if (xacodec_load(sh, dll) == 0) 686 if (xacodec_load(sh, dll) == 0)
687 return 0; 687 return 0;
688 688
689 codec_hdr.xapi_rev = XAVID_API_REV; 689 codec_hdr.xapi_rev = XAVID_API_REV;
690 codec_hdr.anim_hdr = malloc(4096); 690 codec_hdr.anim_hdr = malloc(4096);