summaryrefslogtreecommitdiff
path: root/libre/mplayer-vaapi-libre/demux-gif.patch
diff options
context:
space:
mode:
authorShackra Sislock <jorgean@lavabit.com>2013-07-28 00:05:17 -0600
committerShackra Sislock <jorgean@lavabit.com>2013-07-28 00:05:17 -0600
commit24a60eb2731228e05ffa0ed9dade0d6b56f9785f (patch)
tree5968c5be0899eeba7cbc294a12b39e165a7be4a7 /libre/mplayer-vaapi-libre/demux-gif.patch
parent6785d5420eb83d9990842bd812458ad862c0d9e7 (diff)
parent946d64a4f98b36d70189c65010e666a597ad7aab (diff)
merging...
Diffstat (limited to 'libre/mplayer-vaapi-libre/demux-gif.patch')
-rw-r--r--libre/mplayer-vaapi-libre/demux-gif.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/libre/mplayer-vaapi-libre/demux-gif.patch b/libre/mplayer-vaapi-libre/demux-gif.patch
new file mode 100644
index 000000000..68add7d28
--- /dev/null
+++ b/libre/mplayer-vaapi-libre/demux-gif.patch
@@ -0,0 +1,19 @@
+--- libmpdemux/demux_gif.c-old 2012-08-20 08:47:01.000000000 -0600
++++ libmpdemux/demux_gif.c 2013-07-05 11:27:55.488387360 -0600
+@@ -45,6 +45,16 @@
+
+ #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)