projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f23b4a0
)
cook: Remove senseless maybe_reformat_buffer32() function
author
Diego Biurrun
<diego@biurrun.de>
Wed, 24 Oct 2012 14:03:31 +0000
(16:03 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 26 Oct 2012 16:28:38 +0000
(18:28 +0200)
libavcodec/cook.c
patch
|
blob
|
history
diff --git
a/libavcodec/cook.c
b/libavcodec/cook.c
index 05efa50f1d17ff369be442e89fc44f490e079f71..713d0b1e7e4faa757ac2ed133ab7110ccae4ce1c 100644
(file)
--- a/
libavcodec/cook.c
+++ b/
libavcodec/cook.c
@@
-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 ***********/