summaryrefslogtreecommitdiff
path: root/libavfilter/x86
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-12 13:34:18 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-12 13:34:18 +0100
commit30d2ac4bf9b995bd9ab00e3a7277f4207be676e8 (patch)
treeb35bb166a55994199854c1c807cd8750c0776225 /libavfilter/x86
parente07c82688e8187dbafac489b7c15427252974021 (diff)
avfilter/vf_spp: change temporary to unsigned
More consistent with uspp and allows for future 10bit support Found-by: ubitux Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/x86')
-rw-r--r--libavfilter/x86/vf_spp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/x86/vf_spp.c b/libavfilter/x86/vf_spp.c
index eb46ddcfd8..862190b928 100644
--- a/libavfilter/x86/vf_spp.c
+++ b/libavfilter/x86/vf_spp.c
@@ -174,7 +174,7 @@ static void softthresh_mmx(int16_t dst[64], const int16_t src[64],
dst[0] = (src[0] + 4) >> 3;
}
-static void store_slice_mmx(uint8_t *dst, const int16_t *src,
+static void store_slice_mmx(uint8_t *dst, const uint16_t *src,
int dst_stride, int src_stride,
int width, int height, int log2_scale,
const uint8_t dither[8][8])