[FFmpeg-cvslog] avfilter/vf_gblur: add missing arch check

James Almer git at videolan.org
Wed Feb 17 20:46:15 EET 2021


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Feb 17 15:45:40 2021 -0300| [3c77584be8fa6833b5cbf9b064ef1120a54fa61f] | committer: James Almer

avfilter/vf_gblur: add missing arch check

Removed by mistake in 2b4da1cb8c2984b37e5c912e103a1b8b734e7c1f where it
should have been replaced instead.

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavfilter/vf_gblur.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavfilter/vf_gblur.c b/libavfilter/vf_gblur.c
index 40956e122d..86c765b591 100644
--- a/libavfilter/vf_gblur.c
+++ b/libavfilter/vf_gblur.c
@@ -234,7 +234,8 @@ void ff_gblur_init(GBlurContext *s)
 {
     s->horiz_slice = horiz_slice_c;
     s->postscale_slice = postscale_c;
-    ff_gblur_init_x86(s);
+    if (ARCH_X86)
+        ff_gblur_init_x86(s);
 }
 
 static int config_input(AVFilterLink *inlink)



More information about the ffmpeg-cvslog mailing list