summaryrefslogtreecommitdiff
path: root/libavcodec/h264_mc_template.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-04-11 16:19:01 +0200
committerAnton Khirnov <anton@khirnov.net>2016-04-24 10:06:25 +0200
commit56087ec0a29314d1860f6f0e6f40fbb9b40feccd (patch)
treecfa2b576e6c8df83d6a9d7ca9821ad1bbc478d06 /libavcodec/h264_mc_template.c
parent0e7772c5e4f1b31e2a3dda714ba4f89b1cca644a (diff)
h264: drop a pointless indirection
Diffstat (limited to 'libavcodec/h264_mc_template.c')
-rw-r--r--libavcodec/h264_mc_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264_mc_template.c b/libavcodec/h264_mc_template.c
index 8ae1eef90a..0c8a925d1d 100644
--- a/libavcodec/h264_mc_template.c
+++ b/libavcodec/h264_mc_template.c
@@ -64,9 +64,9 @@ static void mc_part(const H264Context *h, H264SliceContext *sl,
static void MCFUNC(hl_motion)(const H264Context *h, H264SliceContext *sl,
uint8_t *dest_y,
uint8_t *dest_cb, uint8_t *dest_cr,
- qpel_mc_func(*qpix_put)[16],
+ const qpel_mc_func(*qpix_put)[16],
const h264_chroma_mc_func(*chroma_put),
- qpel_mc_func(*qpix_avg)[16],
+ const qpel_mc_func(*qpix_avg)[16],
const h264_chroma_mc_func(*chroma_avg),
const h264_weight_func *weight_op,
const h264_biweight_func *weight_avg)