From 071cd3391da7002f5e33735801a0e96e4bd5e37a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Wed, 2 Jan 2008 19:03:55 +0100 Subject: Make scale_line description constant. Changing this to a character array would be nice, but the 45->64 conversion has a long string. --- src/video_out/yuv2rgb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_out/yuv2rgb.c b/src/video_out/yuv2rgb.c index 2a3ba57fd..4cefe5e98 100644 --- a/src/video_out/yuv2rgb.c +++ b/src/video_out/yuv2rgb.c @@ -1261,7 +1261,7 @@ static scale_line_func_t find_scale_line_func(int step) { int src_step; int dest_step; scale_line_func_t func; - char *desc; + const char *desc; /* FIXME: consider moving this to a char[] to avoid reloc */ } scale_line[] = { { 15, 16, scale_line_15_16, "dvd 4:3(pal)" }, { 45, 64, scale_line_45_64, "dvd 16:9(pal), fullscreen(1024x768)" }, -- cgit v1.2.3