Revision 5388f0b4 libavcodec/h264.c

View differences:

libavcodec/h264.c
1774 1774
        s->height= 16*s->mb_height - 4*FFMIN(h->sps.crop_bottom, 3);
1775 1775

  
1776 1776
    if (s->context_initialized
1777
        && (   s->width != s->avctx->width || s->height != s->avctx->height)) {
1777
        && (   s->width != s->avctx->width || s->height != s->avctx->height
1778
            || av_cmp_q(h->sps.sar, s->avctx->sample_aspect_ratio))) {
1778 1779
        if(h != h0)
1779 1780
            return -1;   // width / height changed during parallelized decoding
1780 1781
        free_tables(h);

Also available in: Unified diff