summaryrefslogtreecommitdiffstats
path: root/libmpdemux/demux_gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/demux_gif.c')
-rw-r--r--libmpdemux/demux_gif.c4
1 files changed, 2 insertions, 2 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