mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
vf_idet: zero pointers after freeing references
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
cac749a551
commit
4d4f431ab7
@ -254,9 +254,9 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
idet->poststat[UNDETERMINED]
|
||||
);
|
||||
|
||||
avfilter_unref_buffer(idet->prev);
|
||||
avfilter_unref_buffer(idet->cur );
|
||||
avfilter_unref_buffer(idet->next);
|
||||
avfilter_unref_bufferp(&idet->prev);
|
||||
avfilter_unref_bufferp(&idet->cur );
|
||||
avfilter_unref_bufferp(&idet->next);
|
||||
}
|
||||
|
||||
static int query_formats(AVFilterContext *ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user