Revision f40a7fd3 libavcodec/error_resilience.c
libavcodec/error_resilience.c  

33  33  
34  34 
static void decode_mb(MpegEncContext *s){ 
35  35 
s>dest[0] = s>current_picture.data[0] + (s>mb_y * 16* s>linesize ) + s>mb_x * 16; 
36 
s>dest[1] = s>current_picture.data[1] + (s>mb_y * 8 * s>uvlinesize) + s>mb_x * 8;


37 
s>dest[2] = s>current_picture.data[2] + (s>mb_y * 8 * s>uvlinesize) + s>mb_x * 8;


36 
s>dest[1] = s>current_picture.data[1] + (s>mb_y * (16>>s>chroma_y_shift) * s>uvlinesize) + s>mb_x * (16>>s>chroma_x_shift);


37 
s>dest[2] = s>current_picture.data[2] + (s>mb_y * (16>>s>chroma_y_shift) * s>uvlinesize) + s>mb_x * (16>>s>chroma_x_shift);


38  38  
39  39 
MPV_decode_mb(s, s>block); 
40  40 
} 
Also available in: Unified diff