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
504bccf0
Commit
504bccf0
authored
Jan 24, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Jan 24, 2014
Browse files
Merge "Changed to prevent decoder crash"
parents
b7944ff1
10b0813a
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_decodeframe.c
View file @
504bccf0
...
...
@@ -743,7 +743,7 @@ static void setup_frame_size_with_refs(VP9D_COMP *pbi,
if
(
!
found
)
read_frame_size
(
rb
,
&
width
,
&
height
);
if
(
!
width
||
!
height
)
if
(
width
<=
0
||
height
<=
0
)
vpx_internal_error
(
&
cm
->
error
,
VPX_CODEC_CORRUPT_FRAME
,
"Referenced frame with invalid size"
);
...
...
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