Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ref_mvs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ref_mvs.c b/src/ref_mvs.c
index 9c749a9..51fcbc8 100644
--- a/src/ref_mvs.c
+++ b/src/ref_mvs.c
@@ -301,8 +301,8 @@ static INLINE int is_global_mv_block(const MB_MODE_INFO *const mbmi,
const BLOCK_SIZE bsize = mbmi->sb_type;
const int block_size_allowed =
AOMMIN(block_size_wide[bsize], block_size_high[bsize]) >= 8;
- return (mode == GLOBALMV || mode == GLOBAL_GLOBALMV) && type > TRANSLATION &&
- block_size_allowed;
+ return block_size_allowed && type > TRANSLATION &&
+ (mode == GLOBALMV || mode == GLOBAL_GLOBALMV);
}
typedef struct {