Skip to content
Snippets Groups Projects
Commit 8d5a6110 authored by JamePeng's avatar JamePeng Committed by Yuri Kunde Schlesner
Browse files

Y2R: num_tiles should be allowed when its value is 128 (#1669)

parent 23f967b0
No related branches found
No related tags found
No related merge requests found
......@@ -261,7 +261,7 @@ void PerformConversion(ConversionConfiguration& cvt) {
ASSERT(cvt.block_alignment != BlockAlignment::Block8x8 || cvt.input_lines % 8 == 0);
// Tiles per row
size_t num_tiles = cvt.input_line_width / 8;
ASSERT(num_tiles < MAX_TILES);
ASSERT(num_tiles <= MAX_TILES);
// Buffer used as a CDMA source/target.
std::unique_ptr<u8[]> data_buffer(new u8[cvt.input_line_width * 8 * 4]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment