summaryrefslogtreecommitdiff
path: root/libavcodec/kmvc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-02-01 03:26:31 +0000
commit7993df65275a9a9bf0a04c37d1aa31901d3ebb0c (patch)
tree12ac05b322190d0bbbf660aef2e280128d15020a /libavcodec/kmvc.c
parentff794171c97ae123cac041726e9c8bdc36c7e6c0 (diff)
consts
I have underestimated this a little, and these are just some ... Originally committed as revision 11708 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/kmvc.c')
-rw-r--r--libavcodec/kmvc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/kmvc.c b/libavcodec/kmvc.c
index ccff678fa4..395ca2cb99 100644
--- a/libavcodec/kmvc.c
+++ b/libavcodec/kmvc.c
@@ -67,7 +67,7 @@ typedef struct BitBuf {
} \
}
-static void kmvc_decode_intra_8x8(KmvcContext * ctx, uint8_t * src, int w, int h)
+static void kmvc_decode_intra_8x8(KmvcContext * ctx, const uint8_t * src, int w, int h)
{
BitBuf bb;
int res, val;
@@ -142,7 +142,7 @@ static void kmvc_decode_intra_8x8(KmvcContext * ctx, uint8_t * src, int w, int h
}
}
-static void kmvc_decode_inter_8x8(KmvcContext * ctx, uint8_t * src, int w, int h)
+static void kmvc_decode_inter_8x8(KmvcContext * ctx, const uint8_t * src, int w, int h)
{
BitBuf bb;
int res, val;
@@ -224,7 +224,7 @@ static void kmvc_decode_inter_8x8(KmvcContext * ctx, uint8_t * src, int w, int h
}
}
-static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t * buf,
+static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, const uint8_t * buf,
int buf_size)
{
KmvcContext *const ctx = avctx->priv_data;