[FFmpeg-devel] [PATCH][RFC/UNTESTED] swscale/slice: Actually use the buffers' strides

Pedro Arthur bygrandao at gmail.com
Sat Feb 13 00:32:24 CET 2016


Hi Derek,

Indeed it is a bug and that is the correct fix. The function
ff_init_slice_from_src is used
for initializing the source data but as it is always 'relative' it starts
at 0. It is also used
to initialize the destination slice but my guess is that usually the
destination stride is
equal, and thus it went unnoticed.

Do you have a sample which make this bug evident?
I think the new slice code is enabled by default since the end of last
year's GSoC.
If you find any bug or have questions about the new swscale slice code,
feel free to contact me.


More information about the ffmpeg-devel mailing list