Quoting Vardan Margaryan (2022-05-23 18:06:16) > Y, U, V data is loaded at the end of the current iteration for the next > iteration. > It results in memory access past the frame data on the last iteration > (that data is never used after the loading). > > So load data at the start of the iteration, so that only useful data is > loaded. > > Signed-off-by: Vardan Margaryan <v.t.margar...@gmail.com> > --- > libswscale/x86/yuv_2_rgb.asm | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-)
I'm not an expert on this code, but the patch looks good and it fixes some invalid reads for me, so will push in a few days if nobody objects. Also note that your mailer mangled the patch, so it could not be applied automatically with 'git am', please fix this in future submissions e.g. by attaching the patch or sending it with git send-email. -- Anton Khirnov _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".