[FFmpeg-soc] [soc]: r1385 - rv40/rv34.c

kostya subversion at mplayerhq.hu
Thu Sep 20 07:10:59 CEST 2007


Author: kostya
Date: Thu Sep 20 07:10:58 2007
New Revision: 1385

Log:
mb_type array may be not of int type in future

Modified:
   rv40/rv34.c

Modified: rv40/rv34.c
==============================================================================
--- rv40/rv34.c	(original)
+++ rv40/rv34.c	Thu Sep 20 07:10:58 2007
@@ -1659,7 +1659,7 @@ int ff_rv34_decode_init(AVCodecContext *
     r->intra_types_hist = av_malloc(s->b4_stride * 4 * 2 * sizeof(int));
     r->intra_types = r->intra_types_hist + s->b4_stride * 4;
 
-    r->mb_type = av_mallocz(r->s.mb_stride * r->s.mb_height * sizeof(int));
+    r->mb_type = av_mallocz(r->s.mb_stride * r->s.mb_height * sizeof(*r->mb_type));
 
     if(!tables_done){
         rv34_init_tables();



More information about the FFmpeg-soc mailing list