Commit 8961a15c authored by cehoyos's avatar cehoyos

Warn about unimplemented H264 feature.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13542 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f2e77040
......@@ -4112,6 +4112,8 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment