]> git.sesse.net Git - ffmpeg/commitdiff
revert r22112 which broke playback of cathedral-beta2-400extra-crop-avc.mp4
authorAurelien Jacobs <aurel@gnuage.org>
Mon, 1 Mar 2010 00:22:43 +0000 (00:22 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Mon, 1 Mar 2010 00:22:43 +0000 (00:22 +0000)
Originally committed as revision 22125 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 034142e234b5356ee7595d0130f288ee95b7b3dc..5185e31ebbda58f4c9d583985b4869ddc6640e4a 100644 (file)
@@ -1775,9 +1775,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){
         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);