Mercurial > libavcodec.hg
comparison h263dec.c @ 12414:3fc4c625b6f3 libavcodec
Remove global mm_flags variable
author | mru |
---|---|
date | Tue, 24 Aug 2010 17:47:05 +0000 |
parents | c35d7bc64882 |
children | a5ddb39627fd |
comparison
equal
deleted
inserted
replaced
12413:e6e4059ea421 | 12414:3fc4c625b6f3 |
---|---|
551 fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale); | 551 fprintf(f, "%d %d %f\n", buf_size, s->qscale, buf_size*(double)s->qscale); |
552 } | 552 } |
553 #endif | 553 #endif |
554 | 554 |
555 #if HAVE_MMX | 555 #if HAVE_MMX |
556 if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build>=0 && avctx->idct_algo == FF_IDCT_AUTO && (mm_flags & FF_MM_MMX)){ | 556 if(s->codec_id == CODEC_ID_MPEG4 && s->xvid_build>=0 && avctx->idct_algo == FF_IDCT_AUTO && (mm_support() & FF_MM_MMX)){ |
557 avctx->idct_algo= FF_IDCT_XVIDMMX; | 557 avctx->idct_algo= FF_IDCT_XVIDMMX; |
558 avctx->coded_width= 0; // force reinit | 558 avctx->coded_width= 0; // force reinit |
559 // dsputil_init(&s->dsp, avctx); | 559 // dsputil_init(&s->dsp, avctx); |
560 s->picture_number=0; | 560 s->picture_number=0; |
561 } | 561 } |