dsputilenc_mmx: Merge two assignment blocks with identical conditions
authorDiego Biurrun <diego@biurrun.de>
Wed, 25 Dec 2013 15:49:23 +0000 (16:49 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 13 Mar 2014 15:15:51 +0000 (08:15 -0700)
libavcodec/x86/dsputilenc_mmx.c

index a1f80af..e21ae24 100644 (file)
@@ -981,9 +981,6 @@ av_cold void ff_dsputilenc_init_mmx(DSPContext *c, AVCodecContext *avctx)
         c->nsse[1] = nsse8_mmx;
         if(!(avctx->flags & CODEC_FLAG_BITEXACT)){
             c->vsad[0] = vsad16_mmx;
         c->nsse[1] = nsse8_mmx;
         if(!(avctx->flags & CODEC_FLAG_BITEXACT)){
             c->vsad[0] = vsad16_mmx;
-        }
-
-        if(!(avctx->flags & CODEC_FLAG_BITEXACT)){
             c->try_8x8basis= try_8x8basis_mmx;
         }
         c->add_8x8basis= add_8x8basis_mmx;
             c->try_8x8basis= try_8x8basis_mmx;
         }
         c->add_8x8basis= add_8x8basis_mmx;