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
D
dav1d
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
Environments
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
François Cartegnie
dav1d
Commits
5e1ba6a2
Commit
5e1ba6a2
authored
Oct 09, 2018
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Av1FrameHeader.tiling.n_bytes sign compare warning
parent
2ecb122a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/decode.c
src/decode.c
+1
-1
src/levels.h
src/levels.h
+1
-1
No files found.
src/decode.c
View file @
5e1ba6a2
...
...
@@ -2524,7 +2524,7 @@ int dav1d_decode_frame(Dav1dFrameContext *const f) {
}
else
{
if
(
f
->
frame_hdr
.
tiling
.
n_bytes
>
size
)
goto
error
;
tile_sz
=
0
;
for
(
int
k
=
0
;
k
<
f
->
frame_hdr
.
tiling
.
n_bytes
;
k
++
)
for
(
unsigned
k
=
0
;
k
<
f
->
frame_hdr
.
tiling
.
n_bytes
;
k
++
)
tile_sz
|=
*
data
++
<<
(
k
*
8
);
tile_sz
++
;
size
-=
f
->
frame_hdr
.
tiling
.
n_bytes
;
...
...
src/levels.h
View file @
5e1ba6a2
...
...
@@ -440,7 +440,7 @@ typedef struct Av1FrameHeader {
int
refresh_context
;
struct
{
int
uniform
;
int
n_bytes
;
unsigned
n_bytes
;
int
min_log2_cols
,
max_log2_cols
,
log2_cols
,
cols
;
int
col_start_sb
[
1025
];
int
min_log2_rows
,
max_log2_rows
,
log2_rows
,
rows
;
...
...
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