diff options
author | Torsten Jager <t.jager@gmx.de> | 2014-03-10 16:36:55 +0100 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2014-03-10 16:36:55 +0100 |
commit | 9dc01446b018803415e0fe02b0f060b037e0738a (patch) | |
tree | af1041e41677ce01eb51fd4496a5b5f2c655584e /src/dxr3/dxr3_decode_video.c | |
parent | 19ebd24e0d03f60a8a4f5aa90ff51021cae2b430 (diff) | |
download | xine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.gz xine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.bz2 |
Silence compiler warnings on register_enum () arg #4.
Making them all "const char * const *" did work too
(even with Kaffeine build/run), but that would be
an API change.
Diffstat (limited to 'src/dxr3/dxr3_decode_video.c')
-rw-r--r-- | src/dxr3/dxr3_decode_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dxr3/dxr3_decode_video.c b/src/dxr3/dxr3_decode_video.c index 61fd503c7..200a4d77b 100644 --- a/src/dxr3/dxr3_decode_video.c +++ b/src/dxr3/dxr3_decode_video.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2000-2011 the xine project + * Copyright (C) 2000-2014 the xine project * * This file is part of xine, a free video player. * @@ -235,7 +235,7 @@ static video_decoder_t *dxr3_open_plugin(video_decoder_class_t *class_gen, xine_ } this->use_panscan = cfg->register_enum(cfg, - "dxr3.use_panscan", 0, panscan_types, _("use Pan & Scan info"), + "dxr3.use_panscan", 0, (char **)panscan_types, _("use Pan & Scan info"), _("\"Pan & Scan\" is a special display mode which is sometimes used in MPEG " "encoded material. You can specify here, how to handle such content.\n\n" "only when forced\n" |