Resolve some static analysis warnings Change-Id: Iaff923f34100ecdce76d2319fab67cde59d485ae
diff --git a/av1/common/av1_loopfilter.c b/av1/common/av1_loopfilter.c index 6dc58c1..28dc75f 100644 --- a/av1/common/av1_loopfilter.c +++ b/av1/common/av1_loopfilter.c
@@ -1708,6 +1708,9 @@ void av1_setup_mask(AV1_COMMON *const cm, const int mi_row, const int mi_col, MODE_INFO **mi, const int mode_info_stride, LOOP_FILTER_MASK *lfm) { +#if CONFIG_EXT_PARTITION + assert(0 && "Not yet updated"); +#endif // CONFIG_EXT_PARTITION int idx_32, idx_16, idx_8; const loop_filter_info_n *const lfi_n = &cm->lf_info; MODE_INFO **mip = mi; @@ -1735,9 +1738,6 @@ int i; const int max_rows = AOMMIN(cm->mi_rows - mi_row, MAX_MIB_SIZE); const int max_cols = AOMMIN(cm->mi_cols - mi_col, MAX_MIB_SIZE); -#if CONFIG_EXT_PARTITION - assert(0 && "Not yet updated"); -#endif // CONFIG_EXT_PARTITION av1_zero(*lfm); assert(mip[0] != NULL);
diff --git a/av1/common/thread_common.c b/av1/common/thread_common.c index 17486eb..eec8629 100644 --- a/av1/common/thread_common.c +++ b/av1/common/thread_common.c
@@ -290,6 +290,13 @@ int start, int stop, int y_only, AVxWorker *workers, int nworkers, AV1LfSync *lf_sync) { +#if CONFIG_EXT_PARTITION + printf( + "STOPPING: This code has not been modified to work with the " + "extended coding unit size experiment"); + exit(EXIT_FAILURE); +#endif // CONFIG_EXT_PARTITION + const AVxWorkerInterface *const winterface = aom_get_worker_interface(); // Number of superblock rows and cols const int sb_rows = mi_rows_aligned_to_sb(cm) >> cm->mib_size_log2; @@ -299,13 +306,6 @@ const int num_workers = AOMMIN(nworkers, tile_cols); int i; -#if CONFIG_EXT_PARTITION - printf( - "STOPPING: This code has not been modified to work with the " - "extended coding unit size experiment"); - exit(EXIT_FAILURE); -#endif // CONFIG_EXT_PARTITION - if (!lf_sync->sync_range || sb_rows != lf_sync->rows || num_workers > lf_sync->num_workers) { av1_loop_filter_dealloc(lf_sync);