Simplify if/else, no speed change

Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-12-22 16:14:06 +00:00
parent 6f3c50f2f9
commit 03a035e059
1 changed files with 1 additions and 5 deletions

View File

@ -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];
}
}
}