diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-13 21:55:19 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-11-13 21:55:19 -0500 |
commit | fe6594d5a8354c8662a730102eaf7b5ba29bfcfd (patch) | |
tree | 628a2f3835ae7c47f787a3fbf1694f28f37326c4 /libre/mplayer-libre/0001-demux_gif-declare-missing-PrintGifError.patch | |
parent | c865c99debc0473cb5a801fd9c151fa9e0a99401 (diff) | |
parent | a00610bbb81d635636889efbd5d7eceb374469d1 (diff) |
Merge remote-tracking branch 'remotes/pgl/master' into HEAD
Diffstat (limited to 'libre/mplayer-libre/0001-demux_gif-declare-missing-PrintGifError.patch')
-rw-r--r-- | libre/mplayer-libre/0001-demux_gif-declare-missing-PrintGifError.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libre/mplayer-libre/0001-demux_gif-declare-missing-PrintGifError.patch b/libre/mplayer-libre/0001-demux_gif-declare-missing-PrintGifError.patch deleted file mode 100644 index c8a527cf3..000000000 --- a/libre/mplayer-libre/0001-demux_gif-declare-missing-PrintGifError.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 5194f95d39ffbb0a4a7b027d8f1b084436feb22c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Bart=C5=82omiej=20Piotrowski?= <b@bpiotrowski.pl> -Date: Sun, 14 Jul 2013 10:51:11 +0200 -Subject: [PATCH] demux_gif: declare missing PrintGifError - -Apparently it has been removed from newer Giflib releases. ---- - libmpdemux/demux_gif.c | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/libmpdemux/demux_gif.c b/libmpdemux/demux_gif.c -index eee7a85..3d761c0 100644 ---- a/libmpdemux/demux_gif.c -+++ b/libmpdemux/demux_gif.c -@@ -44,6 +44,16 @@ typedef struct { - - #define GIF_SIGNATURE (('G' << 16) | ('I' << 8) | 'F') - -+static void PrintGifError(void) -+{ -+ char *Err = GifErrorString(); -+ -+ if (Err != NULL) -+ fprintf(stderr, "\nGIF-LIB error: %s.\n", Err); -+ else -+ fprintf(stderr, "\nGIF-LIB undefined error %d.\n", GifError()); -+} -+ - #ifndef CONFIG_GIF_TVT_HACK - // not supported by certain versions of the library - static int my_read_gif(GifFileType *gif, uint8_t *buf, int len) --- -1.8.3.2 - |