Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
b9c652a7
Commit
b9c652a7
authored
May 03, 2017
by
Sebastien Alaiwan
Committed by
sebastien alaiwan
May 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deduplicate profile check
Change-Id: I5dbccf4d39f0ec5d93300913dd0a37640eb2a444
parent
15ad8e4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
av1/decoder/decodeframe.c
av1/decoder/decodeframe.c
+5
-7
No files found.
av1/decoder/decodeframe.c
View file @
b9c652a7
...
...
@@ -4049,15 +4049,13 @@ static size_t read_uncompressed_header(AV1Decoder *pbi,
"Invalid frame marker"
);
cm
->
profile
=
av1_read_profile
(
rb
);
#if CONFIG_HIGHBITDEPTH
if
(
cm
->
profile
>=
MAX_PROFILES
)
aom_internal_error
(
&
cm
->
error
,
AOM_CODEC_UNSUP_BITSTREAM
,
"Unsupported bitstream profile"
);
#else
if
(
cm
->
profile
>=
PROFILE_2
)
const
BITSTREAM_PROFILE
MAX_SUPPORTED_PROFILE
=
CONFIG_HIGHBITDEPTH
?
MAX_PROFILES
:
PROFILE_2
;
if
(
cm
->
profile
>=
MAX_SUPPORTED_PROFILE
)
aom_internal_error
(
&
cm
->
error
,
AOM_CODEC_UNSUP_BITSTREAM
,
"Unsupported bitstream profile"
);
#endif
cm
->
show_existing_frame
=
aom_rb_read_bit
(
rb
);
...
...
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