# HG changeset patch # User cehoyos # Date 1192180207 0 # Node ID 05e66f9c15bb6b7af9e260a949bb08209a2d3230 # Parent 2926fc2a03963d6c07d39f9ca46377761b1c0f33 Interlaced pictures (not just MBAFF) + spatial direct mode is not implemented. Patch by Jeff Downs, heydowns . borg @ com Original thread: Enable PAFF decoding, 2007-10-09 11:04 diff -r 2926fc2a0396 -r 05e66f9c15bb h264.c --- a/h264.c Fri Oct 12 08:43:23 2007 +0000 +++ b/h264.c Fri Oct 12 09:10:07 2007 +0000 @@ -4098,8 +4098,8 @@ if(h->slice_type == P_TYPE || h->slice_type == SP_TYPE || h->slice_type == B_TYPE){ if(h->slice_type == B_TYPE){ h->direct_spatial_mv_pred= get_bits1(&s->gb); - if(h->sps.mb_aff && h->direct_spatial_mv_pred) - av_log(h->s.avctx, AV_LOG_ERROR, "MBAFF + spatial direct mode is not implemented\n"); + if(FIELD_OR_MBAFF_PICTURE && h->direct_spatial_mv_pred) + av_log(h->s.avctx, AV_LOG_ERROR, "Interlaced pictures + spatial direct mode is not implemented\n"); } num_ref_idx_active_override_flag= get_bits1(&s->gb);