summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/rv30.c2
-rw-r--r--libavcodec/rv40.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c
index 81a11e8ada..d6ca922380 100644
--- a/libavcodec/rv30.c
+++ b/libavcodec/rv30.c
@@ -60,7 +60,7 @@ static int rv30_parse_slice_header(RV34DecContext *r, GetBitContext *gb, SliceIn
/**
* Decode 4x4 intra types array.
*/
-static int rv30_decode_intra_types(RV34DecContext *r, GetBitContext *gb, int *dst)
+static int rv30_decode_intra_types(RV34DecContext *r, GetBitContext *gb, int8_t *dst)
{
int i, j, k;
diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c
index 83cfbadaf8..642386c380 100644
--- a/libavcodec/rv40.c
+++ b/libavcodec/rv40.c
@@ -131,13 +131,13 @@ static int rv40_parse_slice_header(RV34DecContext *r, GetBitContext *gb, SliceIn
/**
* Decode 4x4 intra types array.
*/
-static int rv40_decode_intra_types(RV34DecContext *r, GetBitContext *gb, int *dst)
+static int rv40_decode_intra_types(RV34DecContext *r, GetBitContext *gb, int8_t *dst)
{
MpegEncContext *s = &r->s;
int i, j, k, v;
int A, B, C;
int pattern;
- int *ptr;
+ int8_t *ptr;
for(i = 0; i < 4; i++, dst += s->b4_stride){
if(!i && s->first_slice_line){