This remove a writable global variable. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/reds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/reds.c b/server/reds.c index 19ca568..c40ff1e 100644 --- a/server/reds.c +++ b/server/reds.c @@ -3599,7 +3599,7 @@ static const EnumNames video_codec_names[] = { {0, NULL}, }; -static int video_codec_caps[] = { +static const int video_codec_caps[] = { SPICE_DISPLAY_CAP_CODEC_MJPEG, SPICE_DISPLAY_CAP_CODEC_VP8, SPICE_DISPLAY_CAP_CODEC_H264, -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel