Signed-off-by: Derek Buitenhuis <derek.buitenh...@gmail.com> --- I don't know how this could ever have worked, but I also am having a hard time testing the sliced path in swscale... has it even ever been run?
I have CC'd the original author of this code in the hopes that he can confirm or deny that this is a correct "fix". --- diff --git a/libswscale/slice.c b/libswscale/slice.c index 66fe413..a701487 100644 --- a/libswscale/slice.c +++ b/libswscale/slice.c @@ -159,9 +159,9 @@ int ff_init_slice_from_src(SwsSlice * s, uint8_t *src[4], int stride[4], int src lumY + lumH}; const uint8_t *src_[4] = {src[0] + (relative ? 0 : start[0]) * stride[0], - src[1] + (relative ? 0 : start[1]) * stride[0], - src[2] + (relative ? 0 : start[2]) * stride[0], - src[3] + (relative ? 0 : start[3]) * stride[0]}; + src[1] + (relative ? 0 : start[1]) * stride[1], + src[2] + (relative ? 0 : start[2]) * stride[2], + src[3] + (relative ? 0 : start[3]) * stride[3]}; s->width = srcW; -- 2.7.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel