Ticket #348: patchsisvel3Dnew.diff

File patchsisvel3Dnew.diff, 666 bytes (added by cehoyos, 5 years ago)
  • libavcodec/h264_ps.c

    diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
    index fa99372..2be2060 100644
    a b int ff_h264_decode_seq_parameter_set(H264Context *h){ 
    407407        } 
    408408        if(sps->crop_right >= crop_horizontal_limit || sps->crop_bottom >= crop_vertical_limit){ 
    409409            av_log(h->s.avctx, AV_LOG_ERROR, "brainfart cropping not supported, this could look slightly wrong ... (right: %d, bottom: %d)\n", sps->crop_right, sps->crop_bottom); 
     410        sps->crop_left  = 
     411        sps->crop_right = 
     412        sps->crop_top   = 
     413        sps->crop_bottom= 0; 
    410414        } 
    411415    }else{ 
    412416        sps->crop_left  =