[FFmpeg-cvslog] dsputilenc_mmx: Merge two assignment blocks with identical conditions

Diego Biurrun git at videolan.org
Fri Mar 14 01:08:37 CET 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Dec 25 16:49:23 2013 +0100| [6a8b35dc88b4a1a452f192fbbf53ae7f59bc3f23] | committer: Diego Biurrun

dsputilenc_mmx: Merge two assignment blocks with identical conditions

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6a8b35dc88b4a1a452f192fbbf53ae7f59bc3f23
---

 libavcodec/x86/dsputilenc_mmx.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c
index a1f80af..e21ae24 100644
--- a/libavcodec/x86/dsputilenc_mmx.c
+++ b/libavcodec/x86/dsputilenc_mmx.c
@@ -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;
-        }
-
-        if(!(avctx->flags & CODEC_FLAG_BITEXACT)){
             c->try_8x8basis= try_8x8basis_mmx;
         }
         c->add_8x8basis= add_8x8basis_mmx;



More information about the ffmpeg-cvslog mailing list