mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-03 02:58:02 +00:00
vf_slicify: clear AVFilterLink.cur_buf in start_frame().
The buffer is passed on to the next filter, so we shouldn't keep any pointers to it.
This commit is contained in:
parent
0393af4f0b
commit
5b50ae94e6
@ -73,6 +73,7 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
|
|||||||
slice->h = FFMAX(8, slice->h & (-1 << slice->vshift));
|
slice->h = FFMAX(8, slice->h & (-1 << slice->vshift));
|
||||||
|
|
||||||
av_log(link->dst, AV_LOG_DEBUG, "h:%d\n", slice->h);
|
av_log(link->dst, AV_LOG_DEBUG, "h:%d\n", slice->h);
|
||||||
|
link->cur_buf = NULL;
|
||||||
|
|
||||||
ff_start_frame(link->dst->outputs[0], picref);
|
ff_start_frame(link->dst->outputs[0], picref);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user