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
6bec6ec6
Commit
6bec6ec6
authored
Aug 07, 2017
by
Sebastien Alaiwan
Browse files
Fix stream info peeking
BUG=aomedia:681 Change-Id: Iefce035d633d1533c8400d85b3257971757160bc
parent
34c9d8bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
av1/av1_dx_iface.c
View file @
6bec6ec6
...
...
@@ -218,6 +218,19 @@ static aom_codec_err_t decoder_peek_si_internal(
data
=
clear_buffer
;
}
// skip a potential superframe index
{
uint32_t
frame_sizes
[
8
];
int
frame_count
;
int
index_size
=
0
;
aom_codec_err_t
res
=
av1_parse_superframe_index
(
data
,
data_sz
,
frame_sizes
,
&
frame_count
,
&
index_size
,
NULL
,
NULL
);
if
(
res
!=
AOM_CODEC_OK
)
return
res
;
data
+=
index_size
;
data_sz
-=
index_size
;
}
{
int
show_frame
;
int
error_resilient
;
...
...
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