Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
x264
Commits
1c317477
Commit
1c317477
authored
Jul 18, 2018
by
Anton Mitrofanov
Committed by
Henrik Gramner
Jul 21, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix undefined behavior of left shift for CAVLC encoding
parent
a0253ebe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
common/vlc.c
common/vlc.c
+3
-1
No files found.
common/vlc.c
View file @
1c317477
...
...
@@ -71,7 +71,9 @@ void x264_cavlc_init( x264_t *h )
vlc
->
i_next
=
i_next
;
}
for
(
int
i
=
1
;
i
<
(
1
<<
16
);
i
++
)
x264_run_before
[
0
]
=
0
;
x264_run_before
[
1
]
=
0
;
for
(
uint32_t
i
=
2
;
i
<
(
1
<<
16
);
i
++
)
{
x264_run_level_t
runlevel
;
ALIGNED_ARRAY_16
(
dctcoef
,
dct
,
[
16
]
);
...
...
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