Commit 6c510d60bc for freeswitch.com
commit 6c510d60bc18f10f9559bda624971f669bb7a545
Author: Andrey Volk <andywolk@gmail.com>
Date: Thu Feb 20 23:10:02 2020 +0400
[libvpx] scan-build: Fix "Assigned value is garbage or undefined" in vpx_post_proc_down_and_across_mb_row_c()
diff --git a/libs/libvpx/vpx_dsp/deblock.c b/libs/libvpx/vpx_dsp/deblock.c
index 455b73bbce..cc437af66c 100644
--- a/libs/libvpx/vpx_dsp/deblock.c
+++ b/libs/libvpx/vpx_dsp/deblock.c
@@ -52,6 +52,11 @@ void vpx_post_proc_down_and_across_mb_row_c(unsigned char *src,
assert(size >= 8);
assert(cols >= 8);
+#ifdef __clang_analyzer__
+ /* older clang analyzer doesnt understand asserts, insert this until we ugrade analyzer */
+ if (cols < 8) return;
+#endif
+
for (row = 0; row < size; row++) {
/* post_proc_down for one row */
p_src = src;