diff --git a/libavfilter/vf_readeia608.c b/libavfilter/vf_readeia608.c index a5a0249fb7..d85012564f 100644 --- a/libavfilter/vf_readeia608.c +++ b/libavfilter/vf_readeia608.c @@ -454,7 +454,7 @@ static int extract_lines(AVFilterContext *ctx, void *arg, for (int i = start; i < end; i++) { ScanItem *scan = &s->scan[i]; - extract_line(ctx, in, scan, inlink->w, i); + extract_line(ctx, in, scan, inlink->w, s->start + i); } return 0;