aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-09-23 18:29:21 -0300
committerJames Almer <jamrial@gmail.com>2014-09-23 19:59:20 -0300
commit164d6c7f5b0ee06060c89422f2ef9d6956b15368 (patch)
tree5d83487a3597a4497f5fb1a4a0a4f9fa51b08a40
parent789274dca8e5c53bec5f32bb5df88f1323d85e11 (diff)
downloadffmpeg-164d6c7f5b0ee06060c89422f2ef9d6956b15368.tar.gz
x86/videodsp: fix warning about discarded 'const' qualifier
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavcodec/x86/videodsp_init.c4
1 files 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;