Revision 1c3ce2cd libavcodec/h264_ps.c
libavcodec/h264_ps.c | ||
---|---|---|
347 | 347 |
sps->mb_aff= 0; |
348 | 348 |
|
349 | 349 |
sps->direct_8x8_inference_flag= get_bits1(&s->gb); |
350 |
if(!sps->frame_mbs_only_flag && !sps->direct_8x8_inference_flag){ |
|
351 |
av_log(h->s.avctx, AV_LOG_ERROR, "This stream was generated by a broken encoder, invalid 8x8 inference\n"); |
|
352 |
goto fail; |
|
353 |
} |
|
350 | 354 |
|
351 | 355 |
#ifndef ALLOW_INTERLACE |
352 | 356 |
if(sps->mb_aff) |
Also available in: Unified diff