[FFmpeg-cvslog] r21790 - trunk/libavcodec/h264_direct.c
michael
subversion
Sat Feb 13 14:14:07 CET 2010
Author: michael
Date: Sat Feb 13 14:14:07 2010
New Revision: 21790
Log:
Init sub_mb_type cleanly.
Modified:
trunk/libavcodec/h264_direct.c
Modified: trunk/libavcodec/h264_direct.c
==============================================================================
--- trunk/libavcodec/h264_direct.c Sat Feb 13 14:04:11 2010 (r21789)
+++ trunk/libavcodec/h264_direct.c Sat Feb 13 14:14:07 2010 (r21790)
@@ -149,7 +149,7 @@ static void pred_spatial_direct_motion(H
const int16_t (*l1mv0)[2], (*l1mv1)[2];
const int8_t *l1ref0, *l1ref1;
const int is_b8x8 = IS_8X8(*mb_type);
- unsigned int sub_mb_type;
+ unsigned int sub_mb_type= MB_TYPE_L0L1;;
int i8, i4;
int ref[2];
int mv[2];
@@ -160,7 +160,6 @@ static void pred_spatial_direct_motion(H
#define MB_TYPE_16x16_OR_INTRA (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)
*mb_type |= MB_TYPE_L0L1;
- sub_mb_type |= MB_TYPE_L0L1;
/* ref = min(neighbors) */
for(list=0; list<2; list++){
More information about the ffmpeg-cvslog
mailing list