From 164d6c7f5b0ee06060c89422f2ef9d6956b15368 Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 23 Sep 2014 18:29:21 -0300 Subject: [PATCH] x86/videodsp: fix warning about discarded 'const' qualifier Reviewed-by: Michael Niedermayer Signed-off-by: James Almer --- libavcodec/x86/videodsp_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/x86/videodsp_init.c b/libavcodec/x86/videodsp_init.c index 7668d0bc60..602f141c05 100644 --- a/libavcodec/x86/videodsp_init.c +++ b/libavcodec/x86/videodsp_init.c @@ -135,9 +135,9 @@ static av_always_inline void emulated_edge_mc(uint8_t *dst, const uint8_t *src, x86_reg block_w, x86_reg block_h, x86_reg src_x, x86_reg src_y, x86_reg w, x86_reg h, - emu_edge_vfix_func **vfix_tbl, + emu_edge_vfix_func * const *vfix_tbl, emu_edge_vvar_func *v_extend_var, - emu_edge_hfix_func **hfix_tbl, + emu_edge_hfix_func * const *hfix_tbl, emu_edge_hvar_func *h_extend_var) { x86_reg start_y, start_x, end_y, end_x, src_y_add = 0, p;