diff options
Diffstat (limited to 'video/decode/vd_lavc.c')
-rw-r--r-- | video/decode/vd_lavc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/decode/vd_lavc.c b/video/decode/vd_lavc.c index 2716a848e7..ff2fa71131 100644 --- a/video/decode/vd_lavc.c +++ b/video/decode/vd_lavc.c @@ -372,7 +372,7 @@ static void init_avctx(struct dec_video *vd, const char *decoder, if (ctx->hwdec->init(ctx) < 0) goto error; } else { - mp_set_avcodec_threads(avctx, lavc_param->threads); + mp_set_avcodec_threads(vd->log, avctx, lavc_param->threads); } avctx->flags |= lavc_param->bitexact ? CODEC_FLAG_BITEXACT : 0; |