diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-10-24 16:03:31 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-26 18:28:38 +0200 |
commit | 8a61ba0e8194beffdfd9f843bdcf29dbbc974ca5 (patch) | |
tree | 48bc04f11c599857f27b8704035b8e9981a227b7 /libavcodec/cook.c | |
parent | f23b4a068230fb4ebed2449cd5f303f3b16d333d (diff) | |
download | ffmpeg-8a61ba0e8194beffdfd9f843bdcf29dbbc974ca5.tar.gz |
cook: Remove senseless maybe_reformat_buffer32() function
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r-- | libavcodec/cook.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 05efa50f1d..713d0b1e7e 100644 --- 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 ***********/ |