changeset 11326:cd6fa05ffeb0 libavcodec

revert r22112 which broke playback of cathedral-beta2-400extra-crop-avc.mp4
author aurel
date Mon, 01 Mar 2010 00:22:43 +0000
parents c4c8c8c426eb
children 6a29fa092197
files h264.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Sun Feb 28 23:54:24 2010 +0000
+++ b/h264.c	Mon Mar 01 00:22:43 2010 +0000
@@ -1775,9 +1775,7 @@
         s->height= 16*s->mb_height - 4*FFMIN(h->sps.crop_bottom, 3);
 
     if (s->context_initialized
-        && (   s->width != s->avctx->width || s->height != s->avctx->height
-                || h->sps.sar.num != s->avctx->sample_aspect_ratio.num
-                || h->sps.sar.den != s->avctx->sample_aspect_ratio.den)) {
+        && (   s->width != s->avctx->width || s->height != s->avctx->height)) {
         if(h != h0)
             return -1;   // width / height changed during parallelized decoding
         free_tables(h);