[libvpx] scan-build: Fix "Assigned value is garbage or undefined" in vpx_post_proc_down_and_across_mb_row_c()
This commit is contained in:
parent
4e78f63847
commit
653835efe0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue