mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01:00
avdevice/v4l2: fix leak of timefilter
Fixes ticket #9844. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
ad67ea9eee
commit
30aa0c3f48
1 changed files with 1 additions and 0 deletions
|
|
@ -1011,6 +1011,7 @@ static int v4l2_read_close(AVFormatContext *ctx)
|
|||
|
||||
mmap_close(s);
|
||||
|
||||
ff_timefilter_destroy(s->timefilter);
|
||||
v4l2_close(s->fd);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue