Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
e4d12a13
Commit
e4d12a13
authored
Oct 15, 2013
by
Yaowu Xu
Committed by
Gerrit Code Review
Oct 15, 2013
Browse files
Merge "Converted assertion to returning error"
parents
f999d791
50494d5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_decodemv.c
View file @
e4d12a13
...
...
@@ -504,7 +504,11 @@ static void read_inter_block_mode_info(VP9D_COMP *pbi, MODE_INFO *mi,
if
(
vp9_segfeature_active
(
&
cm
->
seg
,
mbmi
->
segment_id
,
SEG_LVL_SKIP
))
{
mbmi
->
mode
=
ZEROMV
;
assert
(
bsize
>=
BLOCK_8X8
);
if
(
bsize
<
BLOCK_8X8
)
{
vpx_internal_error
(
&
cm
->
error
,
VPX_CODEC_UNSUP_BITSTREAM
,
"Invalid usage of segement feature on small blocks"
);
return
;
}
}
else
{
if
(
bsize
>=
BLOCK_8X8
)
mbmi
->
mode
=
read_inter_mode
(
cm
,
r
,
inter_mode_ctx
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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