[FFmpeg-cvslog] avfilter/vf_avgblur_vulkan: fix incorrect conditional judgement

Wu Jianhua git at videolan.org
Fri Oct 8 12:10:07 EEST 2021


ffmpeg | branch: master | Wu Jianhua <jianhua.wu at intel.com> | Fri Oct  8 10:31:01 2021 +0800| [314289c219da95a641271b4907b0adbbec0b20fa] | committer: Paul B Mahol

avfilter/vf_avgblur_vulkan: fix incorrect conditional judgement

Signed-off-by: Wu Jianhua <jianhua.wu at intel.com>

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

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

diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c
index 5e38a80822..93a7f0d62a 100644
--- a/libavfilter/vf_avgblur_vulkan.c
+++ b/libavfilter/vf_avgblur_vulkan.c
@@ -333,7 +333,7 @@ static int avgblur_vulkan_filter_frame(AVFilterLink *link, AVFrame *in)
     }
 
     tmp = ff_get_video_buffer(outlink, outlink->w, outlink->h);
-    if (!out) {
+    if (!tmp) {
         err = AVERROR(ENOMEM);
         goto fail;
     }



More information about the ffmpeg-cvslog mailing list