Fix build for old libaom
This commit is contained in:
parent
d19ac0d2e1
commit
c81987e7ab
4
av1.c
4
av1.c
|
@ -111,10 +111,12 @@ static avif_error init_codec(aom_codec_iface_t *iface,
|
|||
if (cfg->quality == 0) {
|
||||
SET_CODEC_CONTROL(AV1E_SET_LOSSLESS, 1)
|
||||
}
|
||||
SET_CODEC_CONTROL(AV1E_SET_FRAME_PARALLEL_DECODING, 0)
|
||||
SET_CODEC_CONTROL(AV1E_SET_TILE_COLUMNS, 1)
|
||||
SET_CODEC_CONTROL(AV1E_SET_TILE_ROWS, 1)
|
||||
#ifdef AOM_CTRL_AV1E_SET_ROW_MT
|
||||
SET_CODEC_CONTROL(AV1E_SET_ROW_MT, 1)
|
||||
SET_CODEC_CONTROL(AV1E_SET_FRAME_PARALLEL_DECODING, 0)
|
||||
#endif
|
||||
|
||||
return AVIF_OK;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue