aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/fmtconvert.c
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2012-12-27 22:33:51 +0100
committerMartin Storsjö <martin@martin.st>2013-07-17 11:02:47 +0300
commitb6293e2798afab60596a87010b6163fcb4ca3086 (patch)
tree256cc1560b131fd9d125ef8858f25d91d58d78ad /libavcodec/fmtconvert.c
parent50612484e058e8b241f0528584d64d9d2ccebf12 (diff)
downloadffmpeg-b6293e2798afab60596a87010b6163fcb4ca3086.tar.gz
fmtconvert: Explicitly use int32_t instead of int
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/fmtconvert.c')
-rw-r--r--libavcodec/fmtconvert.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/fmtconvert.c b/libavcodec/fmtconvert.c
index 5b7ab034ae..54f70305df 100644
--- a/libavcodec/fmtconvert.c
+++ b/libavcodec/fmtconvert.c
@@ -24,7 +24,9 @@
#include "fmtconvert.h"
#include "libavutil/common.h"
-static void int32_to_float_fmul_scalar_c(float *dst, const int *src, float mul, int len){
+static void int32_to_float_fmul_scalar_c(float *dst, const int32_t *src,
+ float mul, int len)
+{
int i;
for(i=0; i<len; i++)
dst[i] = src[i] * mul;