20 Sep
2007
20 Sep
'07
5:10 a.m.
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();
6812
Age (days ago)
6812
Last active (days ago)
0 comments
1 participants
participants (1)
-
kostya