Ticket #555: patchinvalid8x8.diff

File patchinvalid8x8.diff, 513 bytes (added by Carl Eugen Hoyos, 15 years ago)
  • libavcodec/h264_ps.c

    diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
    index 158ca32..f508ef1 100644
    a b int ff_h264_decode_seq_parameter_set(H264Context *h){  
    410410    sps->direct_8x8_inference_flag= get_bits1(&s->gb);
    411411    if(!sps->frame_mbs_only_flag && !sps->direct_8x8_inference_flag){
    412412        av_log(h->s.avctx, AV_LOG_ERROR, "This stream was generated by a broken encoder, invalid 8x8 inference\n");
    413         goto fail;
    414413    }
    415414
    416415#ifndef ALLOW_INTERLACE