Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
f9d8658d
Commit
f9d8658d
authored
Dec 23, 2012
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libpostproc: fix leak of 2kb
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
ca9eb930
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
postprocess.c
libpostproc/postprocess.c
+2
-3
No files found.
libpostproc/postprocess.c
View file @
f9d8658d
...
...
@@ -381,11 +381,10 @@ static inline void doHorizLowPass_C(uint8_t dst[], int stride, const PPContext *
static
inline
void
horizX1Filter
(
uint8_t
*
src
,
int
stride
,
int
QP
)
{
int
y
;
static
uint64_t
*
lut
=
NULL
;
if
(
lut
==
NULL
)
static
uint64_t
lut
[
256
]
;
if
(
!
lut
[
255
]
)
{
int
i
;
lut
=
av_malloc
(
256
*
8
);
for
(
i
=
0
;
i
<
256
;
i
++
)
{
int
v
=
i
<
128
?
2
*
i
:
2
*
(
i
-
256
);
...
...
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