Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Denis-Courmont <remi@remlab.net>2022-09-16 23:59:02 +0300
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-18 19:28:12 +0300
commit7f27ce68822a4ef3bdcc42df8ee07c0fe0a08f28 (patch)
tree5ef8601b1170792ff8a2acbe29920ddbffe100dc /libavcodec/fmtconvert.c
parentfc5aef59bfbc5e90f0397acf441633238af4e4e9 (diff)
lavc/fmtconvert: remove dead int32_to_float
This is no longer used since 46089967722f74e794865a044f5f682f26628802. It also has no implementations other than the plain C one. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/fmtconvert.c')
-rw-r--r--libavcodec/fmtconvert.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c
index fd56a63c77..00f55f8f1e 100644
--- a/libavcodec/fmtconvert.c
+++ b/libavcodec/fmtconvert.c
@@ -33,14 +33,6 @@ static void int32_to_float_fmul_scalar_c(float *dst, const int32_t *src,
dst[i] = src[i] * mul;
}
-static void int32_to_float_c(float *dst, const int32_t *src, intptr_t len)
-{
- int i;
-
- for (i = 0; i < len; i++)
- dst[i] = (float)src[i];
-}
-
static void int32_to_float_fmul_array8_c(FmtConvertContext *c, float *dst,
const int32_t *src, const float *mul,
int len)
@@ -52,7 +44,6 @@ static void int32_to_float_fmul_array8_c(FmtConvertContext *c, float *dst,
av_cold void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx)
{
- c->int32_to_float = int32_to_float_c;
c->int32_to_float_fmul_scalar = int32_to_float_fmul_scalar_c;
c->int32_to_float_fmul_array8 = int32_to_float_fmul_array8_c;