1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Warn about unimplemented H264 feature.

Originally committed as revision 13542 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos 2008-05-29 23:16:12 +00:00
parent 3b37167691
commit 7e14f14584

View File

@ -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_P_TYPE || h->slice_type == FF_SP_TYPE || h->slice_type == FF_B_TYPE){
if(h->slice_type == FF_B_TYPE){ if(h->slice_type == FF_B_TYPE){
h->direct_spatial_mv_pred= get_bits1(&s->gb); 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); num_ref_idx_active_override_flag= get_bits1(&s->gb);