10l, non-x86 fix

Originally committed as revision 3254 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Alex Beregszaszi 21 years ago
parent 0dfd33c3f1
commit b442a92f85
  1. 5
      libavcodec/h263dec.c

@ -623,11 +623,14 @@ retry:
fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale); fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale);
} }
#endif #endif
#ifdef HAVE_MMX
if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX) && !(s->flags&CODEC_FLAG_BITEXACT)){ if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & MM_MMX) && !(s->flags&CODEC_FLAG_BITEXACT)){
avctx->idct_algo= FF_IDCT_LIBMPEG2MMX; avctx->idct_algo= FF_IDCT_LIBMPEG2MMX;
avctx->width= 0; // force reinit avctx->width= 0; // force reinit
} }
#endif
/* After H263 & mpeg4 header decode we have the height, width,*/ /* After H263 & mpeg4 header decode we have the height, width,*/
/* and other parameters. So then we could init the picture */ /* and other parameters. So then we could init the picture */
/* FIXME: By the way H263 decoder is evolving it should have */ /* FIXME: By the way H263 decoder is evolving it should have */

Loading…
Cancel
Save