diff options
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_gradfun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c index 05412cf..ca7ef69 100644 --- a/libavfilter/vf_gradfun.c +++ b/libavfilter/vf_gradfun.c @@ -193,6 +193,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) direct = 1; out = in; } else { + direct = 0; out = ff_get_video_buffer(outlink, outlink->w, outlink->h); if (!out) { av_frame_free(&in); |