diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-05 08:47:51 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-05 08:47:51 +0000 |
commit | 0a749ffdc5ecaf1d34d53dfc8e12c6c3be121758 (patch) | |
tree | 53361a313435feff62eb323f1a157b33413ae94b /libvo/vo_gif89a.c | |
parent | 6f37cd89a495d6f1eb797faad7b2ebbdc6f84d7e (diff) | |
download | mpv-0a749ffdc5ecaf1d34d53dfc8e12c6c3be121758.tar.bz2 mpv-0a749ffdc5ecaf1d34d53dfc8e12c6c3be121758.tar.xz |
Rename preprocessor directives related to image libraries.
Change a HAVE_ prefix to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27417 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_gif89a.c')
-rw-r--r-- | libvo/vo_gif89a.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_gif89a.c b/libvo/vo_gif89a.c index 6422ec7ecb..e3e1d6ac95 100644 --- a/libvo/vo_gif89a.c +++ b/libvo/vo_gif89a.c @@ -157,7 +157,7 @@ static int config(uint32_t s_width, uint32_t s_height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { -#ifdef HAVE_GIF_4 +#ifdef CONFIG_GIF_4 // these are control blocks for the gif looping extension. char LB1[] = "NETSCAPE2.0"; char LB2[] = { 1, 0, 0 }; @@ -190,7 +190,7 @@ static int config(uint32_t s_width, uint32_t s_height, uint32_t d_width, // earlier versions of libungif. i don't know exactly which, // but certainly in all those before v4. if you have problems, // you need to upgrade your gif library. -#ifdef HAVE_GIF_4 +#ifdef CONFIG_GIF_4 EGifSetGifVersion("89a"); #else mp_msg(MSGT_VO, MSGL_ERR, "GIF89a: Your version of libungif needs to be upgraded.\n"); @@ -232,7 +232,7 @@ static int config(uint32_t s_width, uint32_t s_height, uint32_t d_width, // set the initial width and height info. EGifPutScreenDesc(new_gif, s_width, s_height, 256, 0, reduce_cmap); -#ifdef HAVE_GIF_4 +#ifdef CONFIG_GIF_4 // version 3 of libungif does not support multiple control blocks. // looping requires multiple control blocks. // therefore, looping is only enabled for v4 and up. |