diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-29 23:16:12 +0000 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2008-05-29 23:16:12 +0000 |
commit | 7e14f14584939ec0dc822ae6fa91355f9c307913 (patch) | |
tree | f27855561c920288aff966770c28a86645c5db03 /libavcodec/h264.c | |
parent | 3b3716769115f6eff35b43932825c457e1d8e682 (diff) | |
download | ffmpeg-7e14f14584939ec0dc822ae6fa91355f9c307913.tar.gz |
Warn about unimplemented H264 feature.
Originally committed as revision 13542 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 5be52a6c45..b19dd781e7 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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); |