changeset 5993:5dfff8f6f524 libavcodec

Intra types will be stored in int8_t array
author kostya
date Fri, 07 Dec 2007 05:50:23 +0000
parents 61f0987be684
children 625b4a680d41
files rv30.c rv40.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/rv30.c	Fri Dec 07 05:48:34 2007 +0000
+++ b/rv30.c	Fri Dec 07 05:50:23 2007 +0000
@@ -60,7 +60,7 @@
 /**
  * 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;
 
--- a/rv40.c	Fri Dec 07 05:48:34 2007 +0000
+++ b/rv40.c	Fri Dec 07 05:50:23 2007 +0000
@@ -131,13 +131,13 @@
 /**
  * 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){