# HG changeset patch # User cehoyos # Date 1212102972 0 # Node ID 74f920fb6c015de47f0290f212d2d468646f7bdf # Parent ea72fccbfc3b3bb0a8b0a78d87069bb342b5252f Warn about unimplemented H264 feature. diff -r ea72fccbfc3b -r 74f920fb6c01 h264.c --- a/h264.c Thu May 29 20:09:45 2008 +0000 +++ b/h264.c Thu May 29 23:16:12 2008 +0000 @@ -4112,6 +4112,8 @@ if(h->slice_type == FF_P_TYPE || h->slice_type == FF_SP_TYPE || h->slice_type == FF_B_TYPE){ if(h->slice_type == FF_B_TYPE){ h->direct_spatial_mv_pred= get_bits1(&s->gb); + if(FIELD_PICTURE && h->direct_spatial_mv_pred) + av_log(h->s.avctx, AV_LOG_ERROR, "PAFF + spatial direct mode is not implemented\n"); } num_ref_idx_active_override_flag= get_bits1(&s->gb);