Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
c5767327
Commit
c5767327
authored
Jul 31, 2017
by
Yaowu Xu
Browse files
correct an assertion
Change-Id: I876d55790c34904a23f103ada2a99b4956cabdb4
parent
4508d880
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/encoder/global_motion.c
View file @
c5767327
...
...
@@ -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
]
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment