comparison h264.c @ 8434:1e19ee0298a9 libavcodec

Simplify if/else, no speed change
author michael
date Mon, 22 Dec 2008 16:14:06 +0000
parents 79bf8321e6fa
children adab508880c6
comparison
equal deleted inserted replaced
8433:79bf8321e6fa 8434:1e19ee0298a9
153 left_xy[1] = left_xy[0] = pair_xy - 1; 153 left_xy[1] = left_xy[0] = pair_xy - 1;
154 if (curr_mb_field_flag) { 154 if (curr_mb_field_flag) {
155 left_xy[1] += s->mb_stride; 155 left_xy[1] += s->mb_stride;
156 left_block = left_block_options[3]; 156 left_block = left_block_options[3];
157 } else { 157 } else {
158 if (bottom) { 158 left_block= left_block_options[2 - bottom];
159 left_block = left_block_options[1];
160 } else {
161 left_block= left_block_options[2];
162 }
163 } 159 }
164 } 160 }
165 } 161 }
166 162
167 h->top_mb_xy = top_xy; 163 h->top_mb_xy = top_xy;