diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-03 21:57:07 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-03 21:57:07 +0000 |
commit | ee6ac5b10c625198e3cbc3bccaa86427e0bddaa3 (patch) | |
tree | 21972c2200fddeadb8135d06354287b9a1ffeb0f /dec_video.c | |
parent | 743744148a2c088f36a50e30739d36906df1af2f (diff) | |
download | mpv-ee6ac5b10c625198e3cbc3bccaa86427e0bddaa3.tar.bz2 mpv-ee6ac5b10c625198e3cbc3bccaa86427e0bddaa3.tar.xz |
xacodec configure support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2660 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'dec_video.c')
-rw-r--r-- | dec_video.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dec_video.c b/dec_video.c index 2432592909..d5a21fe3c0 100644 --- a/dec_video.c +++ b/dec_video.c @@ -245,13 +245,16 @@ unsigned int out_fmt=sh_video->codec->outfmt[sh_video->outfmtidx]; sh_video->our_out_buffer=NULL; switch(sh_video->codec->driver){ -#ifdef USE_XANIM case VFM_XANIM: { +#ifdef USE_XANIM int ret=xacodec_init_video(sh_video,out_fmt); if(!ret) return 0; +#else + mp_msg(MSGT_DECVIDEO, MSGL_ERR, MSGTR_NoXAnimSupport); + return 0; +#endif break; } -#endif #ifdef USE_WIN32DLL case VFM_VFW: { if(!init_vfw_video_codec(sh_video,0)) { |