comparison mpegvideo_enc.c @ 11531:31033caa5344 libavcodec

Change ref_index structure so it matches how its organized in h264. Also revert the related error concealment hotfix.
author michael
date Tue, 23 Mar 2010 02:17:04 +0000
parents 2029a714b794
children baece61a55cf
comparison
equal deleted inserted replaced
11530:86e4be64519e 11531:31033caa5344
195 195
196 if(src->motion_val[i] && src->motion_val[i] != dst->motion_val[i]){ 196 if(src->motion_val[i] && src->motion_val[i] != dst->motion_val[i]){
197 memcpy(dst->motion_val[i], src->motion_val[i], 2*stride*height*sizeof(int16_t)); 197 memcpy(dst->motion_val[i], src->motion_val[i], 2*stride*height*sizeof(int16_t));
198 } 198 }
199 if(src->ref_index[i] && src->ref_index[i] != dst->ref_index[i]){ 199 if(src->ref_index[i] && src->ref_index[i] != dst->ref_index[i]){
200 memcpy(dst->ref_index[i], src->ref_index[i], s->b8_stride*2*s->mb_height*sizeof(int8_t)); 200 memcpy(dst->ref_index[i], src->ref_index[i], s->mb_stride*4*s->mb_height*sizeof(int8_t));
201 } 201 }
202 } 202 }
203 } 203 }
204 } 204 }
205 205