Commit 03a035e0 authored by Michael Niedermayer's avatar Michael Niedermayer

Simplify if/else, no speed change

Originally committed as revision 16275 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 6f3c50f2
......@@ -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];
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment