summaryrefslogtreecommitdiff
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2007-07-08 23:14:54 +0000
committerMåns Rullgård <mans@mansr.com>2007-07-08 23:14:54 +0000
commitbad700e34652ad45071321f8782d85d3685f0da8 (patch)
tree14a4b6b66664d8834b328a8565d8492bb35150cf /libavcodec/snow.c
parent3b26ee4719a4f2c1d5b71a09492593b5569ea745 (diff)
trivial warning fixes
Originally committed as revision 9547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 0acded9bbb..b62f49ac15 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -2350,7 +2350,7 @@ static void decode_blocks(SnowContext *s){
}
}
-static void mc_block(uint8_t *dst, uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){
+static void mc_block(uint8_t *dst, const uint8_t *src, uint8_t *tmp, int stride, int b_w, int b_h, int dx, int dy){
int x, y;
START_TIMER
for(y=0; y < b_h+5; y++){
@@ -2420,7 +2420,7 @@ STOP_TIMER("mc_block")
}
#define mca(dx,dy,b_w)\
-static void mc_block_hpel ## dx ## dy ## b_w(uint8_t *dst, uint8_t *src, int stride, int h){\
+static void mc_block_hpel ## dx ## dy ## b_w(uint8_t *dst, const uint8_t *src, int stride, int h){\
uint8_t tmp[stride*(b_w+5)];\
assert(h==b_w);\
mc_block(dst, src-2-2*stride, tmp, stride, b_w, b_w, dx, dy);\