[FFmpeg-cvslog] cook: Remove senseless maybe_reformat_buffer32() function

Diego Biurrun git at videolan.org
Sat Oct 27 15:09:00 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Oct 24 16:03:31 2012 +0200| [8a61ba0e8194beffdfd9f843bdcf29dbbc974ca5] | committer: Diego Biurrun

cook: Remove senseless maybe_reformat_buffer32() function

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8a61ba0e8194beffdfd9f843bdcf29dbbc974ca5
---

 libavcodec/cook.c |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 05efa50..713d0b1 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 ***********/



More information about the ffmpeg-cvslog mailing list