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
8a61ba0e
Commit
8a61ba0e
authored
Oct 24, 2012
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cook: Remove senseless maybe_reformat_buffer32() function
parent
f23b4a06
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
cook.c
libavcodec/cook.c
+1
-7
No files found.
libavcodec/cook.c
View file @
8a61ba0e
...
...
@@ -241,17 +241,11 @@ static av_cold int init_cook_mlt(COOKContext *q)
return
0
;
}
static
const
float
*
maybe_reformat_buffer32
(
COOKContext
*
q
,
const
float
*
ptr
,
int
n
)
{
if
(
1
)
return
ptr
;
}
static
av_cold
void
init_cplscales_table
(
COOKContext
*
q
)
{
int
i
;
for
(
i
=
0
;
i
<
5
;
i
++
)
q
->
cplscales
[
i
]
=
maybe_reformat_buffer32
(
q
,
cplscales
[
i
],
(
1
<<
(
i
+
2
))
-
1
)
;
q
->
cplscales
[
i
]
=
cplscales
[
i
]
;
}
/*************** init functions end ***********/
...
...
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