Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
9dfccce4
Commit
9dfccce4
authored
Jul 22, 2009
by
Loren Merritt
Browse files
shut up valgrind warnings in trellis
parent
2e1db1f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
encoder/rdo.c
View file @
9dfccce4
...
...
@@ -609,11 +609,13 @@ static ALWAYS_INLINE int quant_trellis_cabac( x264_t *h, int16_t *dct,
}
j
=
bnode
->
level_idx
;
for
(
i
=
b_ac
;
i
<
i_coefs
;
i
++
)
for
(
i
=
b_ac
;
j
;
i
++
)
{
dct
[
zigzag
[
i
]]
=
level_tree
[
j
].
abs_level
*
signs
[
i
];
j
=
level_tree
[
j
].
next
;
}
for
(
;
i
<
i_coefs
;
i
++
)
dct
[
zigzag
[
i
]]
=
0
;
return
1
;
}
...
...
Write
Preview
Supports
Markdown
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