# HG changeset patch # User michael # Date 1222040993 0 # Node ID 37f62a3dc64558503d262b39e2b6b9da062a5a21 # Parent d63895a8eabb0c196b6dfb9417feab3670982f93 Correct comment in the direct mode code. (note, yes this is unrelated to the previous simplification, the code always behaved like it is documented now.) diff -r d63895a8eabb -r 37f62a3dc645 h264.c --- a/h264.c Sun Sep 21 23:46:59 2008 +0000 +++ b/h264.c Sun Sep 21 23:49:53 2008 +0000 @@ -987,7 +987,7 @@ #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);