diff options
| author | JamePeng <jame_peng@sina.com> | 2016-04-15 12:36:07 +0800 |
|---|---|---|
| committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2016-04-14 21:36:07 -0700 |
| commit | 68728eef388d8a82d5b7945e249ca8981f5fd9ca (patch) | |
| tree | 1d9bdd7bb5aea48940fa82b62893d8e39bacb065 /src/core/hw/y2r.cpp | |
| parent | 464b3bd20dfd10743cda0d56cb9f9e53e7e0a4ee (diff) | |
Y2R: num_tiles should be allowed when its value is 128 (#1669)
Diffstat (limited to 'src/core/hw/y2r.cpp')
| -rw-r--r-- | src/core/hw/y2r.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hw/y2r.cpp b/src/core/hw/y2r.cpp index 48c45564fd..083391e839 100644 --- a/src/core/hw/y2r.cpp +++ b/src/core/hw/y2r.cpp @@ -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]); |
