Simplify if/else, no speed change

Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 16 years ago
parent 6f3c50f2f9
commit 03a035e059
  1. 6
      libavcodec/h264.c

@ -155,11 +155,7 @@ static void fill_caches(H264Context *h, int mb_type, int for_deblock){
left_xy[1] += s->mb_stride;
left_block = left_block_options[3];
} else {
if (bottom) {
left_block = left_block_options[1];
} else {
left_block= left_block_options[2];
}
left_block= left_block_options[2 - bottom];
}
}
}

Loading…
Cancel
Save