change sws_format_name to return const char*, supress many warnings
[ffmpeg.git] / libswscale / swscale_internal.h
index 81b2f1afb900485e4d5d7926e706ebf7951d696f..ee14fc33bc491804ce70af80f891863da3030d6a 100644 (file)
@@ -193,7 +193,7 @@ void altivec_yuv2packedX (SwsContext *c,
                           int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
                           uint8_t *dest, int dstW, int dstY);
 
-char *sws_format_name(int format);
+const char *sws_format_name(int format);
 
 //FIXME replace this with something faster
 #define isPlanarYUV(x)  (           \