[FFmpeg-cvslog] libavfilter/vf_cover_rect.c: free the allocated frame
Limin Wang
git at videolan.org
Wed Jun 12 01:45:11 EEST 2019
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Tue Jun 11 09:45:58 2019 +0800| [5fc8d87ba6954d3917a9095fb3b8c1d8caf0b0f4] | committer: Michael Niedermayer
libavfilter/vf_cover_rect.c: free the allocated frame
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5fc8d87ba6954d3917a9095fb3b8c1d8caf0b0f4
---
libavfilter/vf_cover_rect.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_cover_rect.c b/libavfilter/vf_cover_rect.c
index 41cd1a12b9..898debf09d 100644
--- a/libavfilter/vf_cover_rect.c
+++ b/libavfilter/vf_cover_rect.c
@@ -198,6 +198,7 @@ static av_cold void uninit(AVFilterContext *ctx)
if (cover->cover_frame)
av_freep(&cover->cover_frame->data[0]);
+ av_frame_free(&cover->cover_frame);
}
static av_cold int init(AVFilterContext *ctx)
More information about the ffmpeg-cvslog
mailing list