[FFmpeg-cvslog] r15378 - trunk/libavcodec/h264.c
michael
subversion
Mon Sep 22 01:49:53 CEST 2008
Author: michael
Date: Mon Sep 22 01:49:53 2008
New Revision: 15378
Log:
Correct comment in the direct mode code.
(note, yes this is unrelated to the previous simplification, the
code always behaved like its documented now)
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Mon Sep 22 01:49:53 2008
@@ -987,7 +987,7 @@ static inline void pred_direct_motion(H2
#define MB_TYPE_16x16_OR_INTRA (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)
if(IS_INTERLACED(h->ref_list[1][0].mb_type[mb_xy])){ // AFL/AFR/FR/FL -> AFL/FL
- if(!IS_INTERLACED(*mb_type)){ // AFR/FR -> AFL
+ if(!IS_INTERLACED(*mb_type)){ // AFR/FR -> AFL/FL
int cur_poc = s->current_picture_ptr->poc;
int *col_poc = h->ref_list[1]->field_poc;
int col_parity = FFABS(col_poc[0] - cur_poc) >= FFABS(col_poc[1] - cur_poc);
More information about the ffmpeg-cvslog
mailing list