[FFmpeg-cvslog] dsputilenc: group yasm and inline asm function pointer assignment.

Ronald S. Bultje git at videolan.org
Wed Jul 4 21:09:50 CEST 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue Jul  3 21:00:05 2012 -0700| [723b266d7285776e5134a42503e468447940decb] | committer: Ronald S. Bultje

dsputilenc: group yasm and inline asm function pointer assignment.

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

 libavcodec/x86/dsputilenc_mmx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/dsputilenc_mmx.c b/libavcodec/x86/dsputilenc_mmx.c
index d8a60e1..47fa5ca 100644
--- a/libavcodec/x86/dsputilenc_mmx.c
+++ b/libavcodec/x86/dsputilenc_mmx.c
@@ -1146,11 +1146,11 @@ void ff_dsputilenc_init_mmx(DSPContext* c, AVCodecContext *avctx)
 
 
         if (mm_flags & AV_CPU_FLAG_MMX2) {
-            c->sum_abs_dctelem= sum_abs_dctelem_mmx2;
 #if HAVE_YASM
             c->hadamard8_diff[0]= ff_hadamard8_diff16_mmx2;
             c->hadamard8_diff[1]= ff_hadamard8_diff_mmx2;
 #endif
+            c->sum_abs_dctelem= sum_abs_dctelem_mmx2;
             c->vsad[4]= vsad_intra16_mmx2;
 
             if(!(avctx->flags & CODEC_FLAG_BITEXACT)){



More information about the ffmpeg-cvslog mailing list