[FFmpeg-cvslog] avfilter/vf_fieldmatch: initialize dst pointer to silence warning

Paul B Mahol git at videolan.org
Sat Sep 11 23:21:13 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Sep 11 22:13:21 2021 +0200| [3e127b595ac028cd0a53a7ef77cb19a3c79162b3] | committer: Paul B Mahol

avfilter/vf_fieldmatch: initialize dst pointer to silence warning

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3e127b595ac028cd0a53a7ef77cb19a3c79162b3
---

 libavfilter/vf_fieldmatch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_fieldmatch.c b/libavfilter/vf_fieldmatch.c
index ea6e5f3780..45285eade7 100644
--- a/libavfilter/vf_fieldmatch.c
+++ b/libavfilter/vf_fieldmatch.c
@@ -682,7 +682,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
     int order, field, i, match, sc = 0, ret = 0;
     const int *fxo;
     AVFrame *gen_frames[] = { NULL, NULL, NULL, NULL, NULL };
-    AVFrame *dst;
+    AVFrame *dst = NULL;
 
     /* update frames queue(s) */
 #define SLIDING_FRAME_WINDOW(prv, src, nxt) do {                \



More information about the ffmpeg-cvslog mailing list