]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Use const qualifier for the variable "tbp", fix warning.
authorstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 18 Feb 2009 21:32:59 +0000 (21:32 +0000)
committerstefano <stefano@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 18 Feb 2009 21:32:59 +0000 (21:32 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17438 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

vhook/imlib2.c

index eed6c236d28f158c51be493e8bb1fbe7e54893f3..ffe873c58e228eb504daace101a91fcb66cb7f1e 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;