avutil/half2float: move non-inline init code out of header

This commit is contained in:
Timo Rothenpieler
2022-08-10 01:53:10 +02:00
parent f3fb528cd5
commit 6dc79f1d04
11 changed files with 166 additions and 86 deletions

View File

@@ -94,7 +94,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
{
EXRContext *s = avctx->priv_data;
init_float2half_tables(&s->f2h_tables);
ff_init_float2half_tables(&s->f2h_tables);
switch (avctx->pix_fmt) {
case AV_PIX_FMT_GBRPF32: