[FFmpeg-cvslog] r16275 - trunk/libavcodec/h264.c
michael
subversion
Mon Dec 22 17:14:06 CET 2008
Author: michael
Date: Mon Dec 22 17:14:06 2008
New Revision: 16275
Log:
Simplify if/else, no speed change
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Mon Dec 22 17:14:06 2008
@@ -155,11 +155,7 @@ static void fill_caches(H264Context *h,
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];
}
}
}
More information about the ffmpeg-cvslog
mailing list