[SCM] libav/experimental: Assign const qualifier to the font variable, fix warning.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:38:46 UTC 2013


The following commit has been merged in the experimental branch:
commit 818ff9a4ebd558794ae25005811d0f3c549e6c0c
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Wed Feb 18 21:29:03 2009 +0000

    Assign const qualifier to the font variable, fix warning.
    
    Originally committed as revision 17436 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/vhook/imlib2.c b/vhook/imlib2.c
index fad61dd..cf55031 100644
--- a/vhook/imlib2.c
+++ b/vhook/imlib2.c
@@ -146,7 +146,7 @@ int Configure(void **ctxp, int argc, char *argv[])
     int c;
     ContextInfo *ci;
     char *rgbtxt = 0;
-    char *font = "LucidaSansDemiBold/16";
+    const char *font = "LucidaSansDemiBold/16";
     char *fp = getenv("FONTPATH");
     char *color = 0;
     FILE *f;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list