[MPlayer-cvslog] r37684 - trunk/libmpdemux/demux_gif.c

reimar subversion at mplayerhq.hu
Thu Feb 11 22:59:56 CET 2016


Author: reimar
Date: Thu Feb 11 22:59:55 2016
New Revision: 37684

Log:
demux_gif: add const to avoid warning.

Modified:
   trunk/libmpdemux/demux_gif.c

Modified: trunk/libmpdemux/demux_gif.c
==============================================================================
--- trunk/libmpdemux/demux_gif.c	Thu Feb 11 22:58:18 2016	(r37683)
+++ trunk/libmpdemux/demux_gif.c	Thu Feb 11 22:59:55 2016	(r37684)
@@ -60,7 +60,7 @@ typedef struct {
 static void print_gif_error(GifFileType *gif)
 {
   int err = GifError();
-  char *err_str = GifErrorString();
+  const char *err_str = GifErrorString();
 
   if (err_str)
     mp_msg(MSGT_DEMUX, MSGL_ERR, "\n[gif] GIF-LIB error: %s.\n", err_str);


More information about the MPlayer-cvslog mailing list