1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00

remove zlib dependency

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11647 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2003-12-15 11:07:48 +00:00
parent edf2a8bb43
commit 0c526eafa9

View File

@ -208,6 +208,7 @@ static int init(sh_video_t *sh)
}
break;
case CODEC_ZLIB:
#ifdef HAVE_ZLIB
switch (hc->compression) {
case COMP_ZLIB_HISPEED:
mp_msg(MSGT_DECVIDEO, MSGL_INFO, "[LCL] High speed compression.\n");
@ -225,6 +226,10 @@ static int init(sh_video_t *sh)
}
mp_msg(MSGT_DECVIDEO, MSGL_INFO, "[LCL] Compression level for ZLIB: (%d).\n", hc->compression);
}
#else
mp_msg(MSGT_DECVIDEO, MSGL_ERR, "[LCL] Zlib support not compiled.\n");
return 0;
#endif
break;
default:
mp_msg(MSGT_DECVIDEO, MSGL_ERR, "[LCL] BUG! Unknown codec in compression switch.\n");