OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
752cc0d
)
Simplify if()
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 13 Feb 2010 13:28:04 +0000
(13:28 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 13 Feb 2010 13:28:04 +0000
(13:28 +0000)
Originally committed as revision 21791 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264_direct.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_direct.c
b/libavcodec/h264_direct.c
index
0c08e1d
..
bf944a1
100644
(file)
--- a/
libavcodec/h264_direct.c
+++ b/
libavcodec/h264_direct.c
@@
-207,7
+207,7
@@
static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){
sub_mb_type |= MB_TYPE_L0L1;
}
- if(!
is_b8x8 && (mv[0]|mv[1]) == 0
){
+ if(!
(is_b8x8|mv[0]|mv[1])
){
fill_rectangle(&h->ref_cache[0][scan8[0]], 4, 4, 8, (uint8_t)ref[0], 1);
fill_rectangle(&h->ref_cache[1][scan8[0]], 4, 4, 8, (uint8_t)ref[1], 1);
fill_rectangle(&h->mv_cache[0][scan8[0]], 4, 4, 8, 0, 4);