Use const qualifier for the variable "tbp", fix warning.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 18 Feb 2009 21:32:59 +0000 (21:32 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 18 Feb 2009 21:32:59 +0000 (21:32 +0000)
Originally committed as revision 17438 to svn://svn.ffmpeg.org/ffmpeg/trunk

vhook/imlib2.c

index eed6c23..ffe873c 100644 (file)
@@ -395,7 +395,7 @@ void Process(void *ctx, AVPicture *picture, enum PixelFormat pix_fmt, int width,
         int wid, hig, h_a, v_a;
         char buff[1000];
         char tbuff[1000];
-        char *tbp = ci->text;
+        const char *tbp = ci->text;
         time_t now = time(0);
         char *p, *q;
         int y;