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
da6b224e
Commit
da6b224e
authored
Feb 25, 2014
by
Adrian Grange
Committed by
Gerrit Code Review
Feb 25, 2014
Browse files
Merge "Trap request to display non-existant frame"
parents
da47b341
709fecac
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_decodeframe.c
View file @
da6b224e
...
...
@@ -1120,6 +1120,12 @@ static size_t read_uncompressed_header(VP9D_COMP *pbi,
if
(
cm
->
show_existing_frame
)
{
// Show an existing frame directly.
const
int
frame_to_show
=
cm
->
ref_frame_map
[
vp9_rb_read_literal
(
rb
,
3
)];
if
(
cm
->
frame_bufs
[
frame_to_show
].
ref_count
<
1
)
vpx_internal_error
(
&
cm
->
error
,
VPX_CODEC_UNSUP_BITSTREAM
,
"Buffer %d does not contain a decoded frame"
,
frame_to_show
);
ref_cnt_fb
(
cm
->
frame_bufs
,
&
cm
->
new_fb_idx
,
frame_to_show
);
pbi
->
refresh_frame_flags
=
0
;
cm
->
lf
.
filter_level
=
0
;
...
...
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