You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/vf_epx: stop doing read overflow
This commit is contained in:
@@ -100,7 +100,7 @@ static int epx2_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
|
||||
src_line[1] = src_line[2];
|
||||
src_line[2] = src_line[1];
|
||||
|
||||
if (y < height - 1)
|
||||
if (y < height - 2)
|
||||
src_line[2] += src_linesize;
|
||||
}
|
||||
}
|
||||
@@ -187,7 +187,7 @@ static int epx3_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
|
||||
src_line[1] = src_line[2];
|
||||
src_line[2] = src_line[1];
|
||||
|
||||
if (y < height - 1)
|
||||
if (y < height - 2)
|
||||
src_line[2] += src_linesize;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user