From 51822879e7732ee8175dad98dde1a135f6e5c1a4 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 27 Jan 2015 16:05:31 +0100 Subject: h264_mb: constify block_offset It is read-only in this code. --- libavcodec/h264_mb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/h264_mb.c') diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index a9ea97c73a..cfe975e4dc 100644 --- a/libavcodec/h264_mb.c +++ b/libavcodec/h264_mb.c @@ -616,7 +616,7 @@ static av_always_inline void hl_decode_mb_predict_luma(H264Context *h, int simple, int transform_bypass, int pixel_shift, - int *block_offset, + const int *block_offset, int linesize, uint8_t *dest_y, int p) { @@ -732,7 +732,7 @@ static av_always_inline void hl_decode_mb_idct_luma(H264Context *h, H264SliceCon int is_h264, int simple, int transform_bypass, int pixel_shift, - int *block_offset, + const int *block_offset, int linesize, uint8_t *dest_y, int p) { -- cgit v1.2.3