diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/video_out.c | 8 | ||||
-rw-r--r-- | libvo/vo_gif89a.c | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index c59b408d47..083ad55dfa 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -228,19 +228,19 @@ const vo_functions_t* const video_out_drivers[] = #ifdef CONFIG_YUV4MPEG &video_out_yuv4mpeg, #endif -#ifdef HAVE_PNG +#ifdef CONFIG_PNG &video_out_png, #endif -#ifdef HAVE_JPEG +#ifdef CONFIG_JPEG &video_out_jpeg, #endif -#ifdef HAVE_GIF +#ifdef CONFIG_GIF &video_out_gif89a, #endif #ifdef CONFIG_TGA &video_out_tga, #endif -#ifdef HAVE_PNM +#ifdef CONFIG_PNM &video_out_pnm, #endif #ifdef CONFIG_MD5SUM 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. |