diff options
author | Clément Bœsch <clement@stupeflix.com> | 2015-12-18 16:03:00 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-12-18 16:21:49 +0100 |
commit | 91b4afd58d7858bfbee10d3e115418f3a9543720 (patch) | |
tree | 20ca92054ccb624e6a2d9bb324f64a056e9a75b2 /libswscale/arm | |
parent | 90b99a81071d10e6b5efe86a4602d54d4f45bbcb (diff) | |
download | ffmpeg-streaming-91b4afd58d7858bfbee10d3e115418f3a9543720.zip ffmpeg-streaming-91b4afd58d7858bfbee10d3e115418f3a9543720.tar.gz |
swscale/arm/yuv2rgb: fix slicing
Diffstat (limited to 'libswscale/arm')
-rw-r--r-- | libswscale/arm/swscale_unscaled.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libswscale/arm/swscale_unscaled.c b/libswscale/arm/swscale_unscaled.c index dbb0fb0..e694ef4 100644 --- a/libswscale/arm/swscale_unscaled.c +++ b/libswscale/arm/swscale_unscaled.c @@ -83,9 +83,8 @@ static int ifmt##_to_##ofmt##_neon_wrapper_##precision(SwsContext *c, const uint }; \ \ ff_##ifmt##_to_##ofmt##_neon_##precision(c->srcW, srcSliceH, \ - dst[0] + srcSliceY * dstStride[0], dstStride[0], \ - src[0] + srcSliceY * srcStride[0], srcStride[0], \ - src[1] + (srcSliceY / 2) * srcStride[1], srcStride[1], \ + dst[0] + srcSliceY * dstStride[0], dstStride[0], \ + src[0], srcStride[0], src[1], srcStride[1], \ yuv2rgb_table, \ c->yuv2rgb_y_offset >> 9, \ c->yuv2rgb_y_coeff / ((precision) == 16 ? 1 << 7 : 1)); \ |