summaryrefslogtreecommitdiff
path: root/libavcodec/x86/diracdsp_mmx.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-15 22:12:02 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-15 22:12:02 +0100
commit1bc85fb32dddf01792ae0850aa9a52d4a5737adb (patch)
tree4f32841327de76ffbc7c7e503962afff9b0f1424 /libavcodec/x86/diracdsp_mmx.c
parentae76c1af16e52e1c69172c471094bf35b4dca5e0 (diff)
dirac: mark some variables const.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/diracdsp_mmx.c')
-rw-r--r--libavcodec/x86/diracdsp_mmx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/diracdsp_mmx.c b/libavcodec/x86/diracdsp_mmx.c
index a343bdd2af..693a9af4f8 100644
--- a/libavcodec/x86/diracdsp_mmx.c
+++ b/libavcodec/x86/diracdsp_mmx.c
@@ -27,11 +27,11 @@ void ff_put_signed_rect_clamped_mmx(uint8_t *dst, int dst_stride, const int16_t
void ff_put_signed_rect_clamped_sse2(uint8_t *dst, int dst_stride, const int16_t *src, int src_stride, int width, int height);
#define HPEL_FILTER(MMSIZE, EXT) \
- void ff_dirac_hpel_filter_v_ ## EXT(uint8_t *, uint8_t *, int, int); \
- void ff_dirac_hpel_filter_h_ ## EXT(uint8_t *, uint8_t *, int); \
+ void ff_dirac_hpel_filter_v_ ## EXT(uint8_t *, const uint8_t *, int, int); \
+ void ff_dirac_hpel_filter_h_ ## EXT(uint8_t *, const uint8_t *, int); \
\
static void dirac_hpel_filter_ ## EXT(uint8_t *dsth, uint8_t *dstv, uint8_t *dstc, \
- uint8_t *src, int stride, int width, int height) \
+ const uint8_t *src, int stride, int width, int height) \
{ \
while( height-- ) \
{ \