diff mbox series

[FFmpeg-devel,4/4] libavfilter/vf_avgblur_vulkan: fix incorrect conditional judgement

Message ID 20210827045144.73794-4-jianhua.wu@intel.com
State New
Headers show
Series [FFmpeg-devel,1/4] libavfilter/x86/vf_hflip: add ff_flip_byte/short_avx512() | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Wu Jianhua Aug. 27, 2021, 4:51 a.m. UTC
Signed-off-by: Wu Jianhua <jianhua.wu@intel.com>
---
 libavfilter/vf_avgblur_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c
index 1e485061cd..2dbfc947a8 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;
     }