Commit 564dc3f2 authored by michael's avatar michael

Check direct_8x8_inference_flag.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21668 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d0ab70e5
......@@ -347,6 +347,10 @@ int ff_h264_decode_seq_parameter_set(H264Context *h){
sps->mb_aff= 0;
sps->direct_8x8_inference_flag= get_bits1(&s->gb);
if(!sps->frame_mbs_only_flag && !sps->direct_8x8_inference_flag){
av_log(h->s.avctx, AV_LOG_ERROR, "This stream was generated by a broken encoder, invalid 8x8 inference\n");
goto fail;
}
#ifndef ALLOW_INTERLACE
if(sps->mb_aff)
......
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