avfilter/avf_showcwt: fix DIRECTION_RL EOF fill clearing the wrong columns
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 5f13df1b51)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -1150,7 +1150,7 @@ static int output_frame(AVFilterContext *ctx)
|
||||
case DIRECTION_RL:
|
||||
for (int p = 0; p < nb_planes; p++) {
|
||||
ptrdiff_t linesize = s->outpicref->linesize[p];
|
||||
const int size = s->w - s->pos;
|
||||
const int size = FFMIN(s->pos + 1, s->sono_size);
|
||||
const int fill = p > 0 && p < 3 ? 128 : 0;
|
||||
|
||||
for (int y = 0; y < s->h; y++) {
|
||||
|
||||
Reference in New Issue
Block a user