Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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