summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 19:03:55 +0100
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-01-02 19:03:55 +0100
commit071cd3391da7002f5e33735801a0e96e4bd5e37a (patch)
treee2971c153a93b58cc4b2188904339a80b08beaca
parent4df6e806989eec14c08afac263601c6fd236402e (diff)
downloadxine-lib-071cd3391da7002f5e33735801a0e96e4bd5e37a.tar.gz
xine-lib-071cd3391da7002f5e33735801a0e96e4bd5e37a.tar.bz2
Make scale_line description constant.
Changing this to a character array would be nice, but the 45->64 conversion has a long string.
-rw-r--r--src/video_out/yuv2rgb.c2
1 files changed, 1 insertions, 1 deletions
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)" },