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 /libmpdemux | |
parent | 6f37cd89a495d6f1eb797faad7b2ebbdc6f84d7e (diff) |
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 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_gif.c | 4 | ||||
-rw-r--r-- | libmpdemux/demuxer.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libmpdemux/demux_gif.c b/libmpdemux/demux_gif.c index 99135db0c8..99aa134d92 100644 --- a/libmpdemux/demux_gif.c +++ b/libmpdemux/demux_gif.c @@ -29,7 +29,7 @@ typedef struct { #define GIF_SIGNATURE (('G' << 16) | ('I' << 8) | 'F') -#ifndef HAVE_GIF_TVT_HACK +#ifndef CONFIG_GIF_TVT_HACK // not supported by certain versions of the library int my_read_gif(GifFileType *gif, uint8_t *buf, int len) { return stream_read(gif->UserData, buf, len); @@ -230,7 +230,7 @@ static demuxer_t* demux_open_gif(demuxer_t* demuxer) // go back to the beginning stream_seek(demuxer->stream,demuxer->stream->start_pos); -#ifdef HAVE_GIF_TVT_HACK +#ifdef CONFIG_GIF_TVT_HACK // without the TVT functionality of libungif, a hard seek must be // done to the beginning of the file. this is because libgif is // unable to use mplayer's cache, and without this lseek libgif will diff --git a/libmpdemux/demuxer.c b/libmpdemux/demuxer.c index 2b96119ca0..b9220ccc3e 100644 --- a/libmpdemux/demuxer.c +++ b/libmpdemux/demuxer.c @@ -110,7 +110,7 @@ const demuxer_desc_t *const demuxer_list[] = { &demuxer_desc_fli, &demuxer_desc_film, &demuxer_desc_roq, -#ifdef HAVE_GIF +#ifdef CONFIG_GIF &demuxer_desc_gif, #endif #ifdef CONFIG_OGGVORBIS |