[FFmpeg-cvslog] x86/videodsp: fix warning about discarded 'const' qualifier

James Almer git at videolan.org
Wed Sep 24 00:58:10 CEST 2014


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Sep 23 18:29:21 2014 -0300| [164d6c7f5b0ee06060c89422f2ef9d6956b15368] | committer: James Almer

x86/videodsp: fix warning about discarded 'const' qualifier

Reviewed-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=164d6c7f5b0ee06060c89422f2ef9d6956b15368
---

 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 7668d0b..602f141 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;



More information about the ffmpeg-cvslog mailing list