On 10/31/2016 01:25 PM, Frediano Ziglio wrote:
This remove a writable global variable.
Signed-off-by: Frediano Ziglio <fzig...@redhat.com>
---
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,
Ack.
_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel