diff mbox series

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

Message ID 20211008023101.4100-3-jianhua.wu@intel.com
State New
Headers show
Series [FFmpeg-devel,v2,1/3] 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 Oct. 8, 2021, 2:31 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(-)

Comments

Paul B Mahol Oct. 8, 2021, 9:11 a.m. UTC | #1
applied
diff mbox series

Patch

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;
     }