Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
c29cc89c
Commit
c29cc89c
authored
Aug 28, 2014
by
James Zern
Committed by
Gerrit Code Review
Aug 28, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "vp9: fix crash in inline loopfilter w/corrupt file"
parents
458d0114
cde790c3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
0 deletions
+7
-0
test/invalid_file_test.cc
test/invalid_file_test.cc
+1
-0
test/test-data.sha1
test/test-data.sha1
+2
-0
test/test.mk
test/test.mk
+2
-0
vp9/decoder/vp9_decodeframe.c
vp9/decoder/vp9_decodeframe.c
+2
-0
No files found.
test/invalid_file_test.cc
View file @
c29cc89c
...
...
@@ -146,6 +146,7 @@ const DecodeParam kMultiThreadedVP9InvalidFileTests[] = {
{
4
,
"invalid-vp90-2-08-tile_1x4_frame_parallel_all_key.webm"
},
{
4
,
"invalid-"
"vp90-2-08-tile_1x2_frame_parallel.webm.ivf.s47039_r01-05_b6-.ivf"
},
{
2
,
"invalid-vp90-2-09-aq2.webm.ivf.s3984_r01-05_b6-.ivf"
},
};
INSTANTIATE_TEST_CASE_P
(
...
...
test/test-data.sha1
View file @
c29cc89c
...
...
@@ -683,3 +683,5 @@ c12918cf0a716417fba2de35c3fc5ab90e52dfce vp90-2-18-resize.ivf.md5
717da707afcaa1f692ff1946f291054eb75a4f06 screendata.y4m
b7c1296630cdf1a7ef493d15ff4f9eb2999202f6 invalid-vp90-2-08-tile_1x2_frame_parallel.webm.ivf.s47039_r01-05_b6-.ivf
0a3884edb3fd8f9d9b500223e650f7de257b67d8 invalid-vp90-2-08-tile_1x2_frame_parallel.webm.ivf.s47039_r01-05_b6-.ivf.res
fac89b5735be8a86b0dc05159f996a5c3208ae32 invalid-vp90-2-09-aq2.webm.ivf.s3984_r01-05_b6-.ivf
22e0ee8babe574722baf4ef6d7ff5d7cf80d386c invalid-vp90-2-09-aq2.webm.ivf.s3984_r01-05_b6-.ivf.res
test/test.mk
View file @
c29cc89c
...
...
@@ -805,6 +805,8 @@ LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += invalid-vp90-2-08-tile_1x2_frame_paral
LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER)
+=
invalid-vp90-2-08-tile_1x2_frame_parallel.webm.ivf.s47039_r01-05_b6-.ivf.res
LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER)
+=
invalid-vp90-2-08-tile_1x4_frame_parallel_all_key.webm
LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER)
+=
invalid-vp90-2-08-tile_1x4_frame_parallel_all_key.webm.res
LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER)
+=
invalid-vp90-2-09-aq2.webm.ivf.s3984_r01-05_b6-.ivf
LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER)
+=
invalid-vp90-2-09-aq2.webm.ivf.s3984_r01-05_b6-.ivf.res
ifeq
($(CONFIG_DECODE_PERF_TESTS),yes)
# BBB VP9 streams
...
...
vp9/decoder/vp9_decodeframe.c
View file @
c29cc89c
...
...
@@ -813,6 +813,8 @@ static const uint8_t *decode_tiles(VP9Decoder *pbi,
if
(
cm
->
lf
.
filter_level
)
{
LFWorkerData
*
const
lf_data
=
(
LFWorkerData
*
)
pbi
->
lf_worker
.
data1
;
// Be sure to sync as we might be resuming after a failed frame decode.
winterface
->
sync
(
&
pbi
->
lf_worker
);
lf_data
->
frame_buffer
=
get_frame_new_buffer
(
cm
);
lf_data
->
cm
=
cm
;
vp9_copy
(
lf_data
->
planes
,
pbi
->
mb
.
plane
);
...
...
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