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
6afb67c6
Commit
6afb67c6
authored
Apr 01, 2018
by
Anton Mitrofanov
Committed by
Henrik Gramner
May 27, 2018
Browse files
Fix theoretically incorrect cost_mv_fpel free
parent
57dd6274
Changes
1
Hide whitespace changes
Inline
Side-by-side
encoder/analyse.c
View file @
6afb67c6
...
...
@@ -208,9 +208,11 @@ void x264_analyse_free_costs( x264_t *h )
{
if
(
h
->
cost_mv
[
i
]
)
x264_free
(
h
->
cost_mv
[
i
]
-
2
*
4
*
mv_range
);
if
(
h
->
cost_mv_fpel
[
i
][
0
]
)
for
(
int
j
=
0
;
j
<
4
;
j
++
)
for
(
int
j
=
0
;
j
<
4
;
j
++
)
{
if
(
h
->
cost_mv_fpel
[
i
][
j
]
)
x264_free
(
h
->
cost_mv_fpel
[
i
][
j
]
-
2
*
mv_range
);
}
}
}
...
...
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