Message ID | 1548342978-4887-3-git-send-email-hwrenx@126.com |
---|---|
State | Accepted |
Commit | ff03418348dda5b8353e5fdcf7c7ff75472b6074 |
Headers | show |
diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index cf75656..0808721 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -45,9 +45,9 @@ static av_cold int davs2_init(AVCodecContext *avctx) /* init the decoder */ cad->param.threads = avctx->thread_count; cad->param.info_level = 0; - cad->decoder = davs2_decoder_open(&cad->param); cad->param.disable_avx = !(cpu_flags & AV_CPU_FLAG_AVX && cpu_flags & AV_CPU_FLAG_AVX2); + cad->decoder = davs2_decoder_open(&cad->param); if (!cad->decoder) { av_log(avctx, AV_LOG_ERROR, "decoder created error.");
Signed-off-by: hwrenx <hwrenx@126.com> --- libavcodec/libdavs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)