Fix compile error with --enable-accounting
Change-Id: I4b18dbfb013c9805cb23083a68560ab212a0867a
This commit is contained in:
Родитель
4b4e5eefe3
Коммит
d971f40bcc
|
@ -2814,9 +2814,9 @@ static const uint8_t *decode_tiles(AV1Decoder *pbi, const uint8_t *data,
|
||||||
#endif
|
#endif
|
||||||
#if CONFIG_ACCOUNTING
|
#if CONFIG_ACCOUNTING
|
||||||
if (pbi->acct_enabled) {
|
if (pbi->acct_enabled) {
|
||||||
tile_data->bit_reader.accounting = &pbi->accounting;
|
td->bit_reader.accounting = &pbi->accounting;
|
||||||
} else {
|
} else {
|
||||||
tile_data->bit_reader.accounting = NULL;
|
td->bit_reader.accounting = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
av1_init_macroblockd(cm, &td->xd, td->dqcoeff);
|
av1_init_macroblockd(cm, &td->xd, td->dqcoeff);
|
||||||
|
@ -2839,8 +2839,8 @@ static const uint8_t *decode_tiles(AV1Decoder *pbi, const uint8_t *data,
|
||||||
TileData *const td = pbi->tile_data + tile_cols * row + col;
|
TileData *const td = pbi->tile_data + tile_cols * row + col;
|
||||||
#if CONFIG_ACCOUNTING
|
#if CONFIG_ACCOUNTING
|
||||||
if (pbi->acct_enabled) {
|
if (pbi->acct_enabled) {
|
||||||
tile_data->bit_reader.accounting->last_tell_frac =
|
td->bit_reader.accounting->last_tell_frac =
|
||||||
aom_reader_tell_frac(&tile_data->bit_reader);
|
aom_reader_tell_frac(&td->bit_reader);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче