1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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,