git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move setting MB_TYPE_L0L1 for direct MBs up, this is simpler.
[ffmpeg.git]
/
libavcodec
/
h264_direct.c
diff --git
a/libavcodec/h264_direct.c
b/libavcodec/h264_direct.c
index
bf944a1
..
cf354c8
100644
(file)
--- a/
libavcodec/h264_direct.c
+++ b/
libavcodec/h264_direct.c
@@
-159,7
+159,6
@@
static void pred_spatial_direct_motion(H264Context * const h, int *mb_type){
#define MB_TYPE_16x16_OR_INTRA (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)
- *mb_type |= MB_TYPE_L0L1;
/* ref = min(neighbors) */
for(list=0; list<2; list++){