Browse Source

avfilter/vf_pad: fix direct padding

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n3.0
Andrey Turkin Paul B Mahol 10 years ago
parent
commit
149b1f7cca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_pad.c

+ 1
- 1
libavfilter/vf_pad.c View File

@@ -203,7 +203,7 @@ static AVFrame *get_video_buffer(AVFilterLink *inlink, int w, int h)

AVFrame *frame = ff_get_video_buffer(inlink->dst->outputs[0],
w + (s->w - s->in_w),
h + (s->h - s->in_h));
h + (s->h - s->in_h) + (s->x > 0));
int plane;

if (!frame)


Loading…
Cancel
Save