Browse Source

lavc/hevcdec: fix invalid use of ff_get_format()

Regression since 76cc100afb.

Spotted-by: James Almer <jamrial@gmail.com>
tags/n3.4
Clément Bœsch 8 years ago
parent
commit
78a5fc4579
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/hevcdec.c

+ 1
- 1
libavcodec/hevcdec.c 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,


Loading…
Cancel
Save