Commit 78a5fc45 authored by Clément Bœsch's avatar Clément Bœsch

lavc/hevcdec: fix invalid use of ff_get_format()

Regression since 76cc100a.
Spotted-by: 's avatarJames Almer <jamrial@gmail.com>
parent 540b8760
......@@ -367,7 +367,7 @@ static enum AVPixelFormat get_format(HEVCContext *s, const HEVCSPS *sps)
*fmt++ = sps->pix_fmt;
*fmt = AV_PIX_FMT_NONE;
return ff_get_format(s->avctx, pix_fmts);
return ff_thread_get_format(s->avctx, pix_fmts);
}
static int set_sps(HEVCContext *s, const HEVCSPS *sps,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment