lavc/hevcdec: fix invalid use of ff_get_format()

Regression since 76cc100afb.

Spotted-by: James Almer <jamrial@gmail.com>
This commit is contained in:
Clément Bœsch 2017-04-26 17:35:28 +02:00
parent 540b8760e8
commit 78a5fc4579
1 changed files with 1 additions and 1 deletions

View File

@ -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,