From d9e2aceb7f1c712a52672129ca7971872b030e1e Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Fri, 29 Aug 2014 00:32:32 +0200 Subject: Add missing "const" all over the place. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only "./configure --enable-gpl" on x86 was tested. Signed-off-by: Reimar Döffinger --- libavutil/frame.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/frame.c') diff --git a/libavutil/frame.c b/libavutil/frame.c index 4dc8e4ea5d..4ee06306ce 100644 --- a/libavutil/frame.c +++ b/libavutil/frame.c @@ -72,7 +72,7 @@ int8_t *av_frame_get_qp_table(AVFrame *f, int *stride, int *type) const char *av_get_colorspace_name(enum AVColorSpace val) { - static const char *name[] = { + static const char * const name[] = { [AVCOL_SPC_RGB] = "GBR", [AVCOL_SPC_BT709] = "bt709", [AVCOL_SPC_FCC] = "fcc", -- cgit v1.2.3