lavc/hevcdec: fix invalid use of ff_get_format()

Regression since 76cc100afb.

Spotted-by: James Almer <jamrial@gmail.com>
pull/254/merge
Clément Bœsch 8 years ago
parent 540b8760e8
commit 78a5fc4579
  1. 2
      libavcodec/hevcdec.c

@ -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…
Cancel
Save