mirror of https://git.ffmpeg.org/ffmpeg.git
lavc/hevcdec: fix invalid use of ff_get_format()
Regression since 76cc100afb
.
Spotted-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
540b8760e8
commit
78a5fc4579
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue