Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
dav1d
Commits
5e1ba6a2
Commit
5e1ba6a2
authored
Oct 09, 2018
by
Janne Grunau
Browse files
fix Av1FrameHeader.tiling.n_bytes sign compare warning
parent
2ecb122a
Pipeline
#997
passed with stage
in 1 minute and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
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
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