summaryrefslogtreecommitdiff
path: root/libavcodec/dnxhdenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-08-13 12:20:07 +0200
committerDiego Biurrun <diego@biurrun.de>2012-08-24 02:23:15 +0200
commit26ce9aec03d925b1ff4beaea462252ad1d7d2c61 (patch)
treec94c14a763973c54c67045e6f6eee7f71168f3b8 /libavcodec/dnxhdenc.c
parentf1e06d37c934e8f908d40207ceeba60fc55b5391 (diff)
dnxhdenc: x86: more sensible names for optimization file and init function
Diffstat (limited to 'libavcodec/dnxhdenc.c')
-rw-r--r--libavcodec/dnxhdenc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index 523d1c078f..0ddbbe130e 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -274,9 +274,8 @@ static int dnxhd_encode_init(AVCodecContext *avctx)
ctx->block_width_l2 = 3;
}
-#if HAVE_MMX
- ff_dnxhd_init_mmx(ctx);
-#endif
+ if (ARCH_X86)
+ ff_dnxhdenc_init_x86(ctx);
ctx->m.mb_height = (avctx->height + 15) / 16;
ctx->m.mb_width = (avctx->width + 15) / 16;