Commit c5767327 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

correct an assertion

Change-Id: I876d55790c34904a23f103ada2a99b4956cabdb4
parent 4508d880
......@@ -245,7 +245,7 @@ static unsigned char *downconvert_frame(YV12_BUFFER_CONFIG *frm,
int i, j;
uint16_t *orig_buf = CONVERT_TO_SHORTPTR(frm->y_buffer);
uint8_t *buf_8bit = frm->y_buffer_8bit;
assert(!buf_8bit);
assert(buf_8bit);
for (i = 0; i < frm->y_height; ++i)
for (j = 0; j < frm->y_width; ++j)
buf_8bit[i * frm->y_stride + j] =
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment