mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
cook: Remove senseless maybe_reformat_buffer32() function
This commit is contained in:
parent
f23b4a0682
commit
8a61ba0e81
@ -241,17 +241,11 @@ static av_cold int init_cook_mlt(COOKContext *q)
|
|||||||
return 0;
|
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)
|
static av_cold void init_cplscales_table(COOKContext *q)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < 5; 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 ***********/
|
/*************** init functions end ***********/
|
||||||
|
Loading…
Reference in New Issue
Block a user