Ticket #8269: h264-aspectratio.diff
File h264-aspectratio.diff, 607 bytes (added by , 14 years ago) |
---|
-
libs/libavcodec/h264.c
old new 1755 1755 s->height= 16*s->mb_height - 4*FFMIN(h->sps.crop_bottom, 3); 1756 1756 1757 1757 if (s->context_initialized 1758 && ( s->width != s->avctx->width || s->height != s->avctx->height)) { 1758 && ( s->width != s->avctx->width || s->height != s->avctx->height 1759 || av_cmp_q(h->sps.sar, s->avctx->sample_aspect_ratio))) { 1759 1760 if(h != h0) 1760 1761 return -1; // width / height changed during parallelized decoding 1761 1762 free_tables(h);