From 18f22bfb27e4919572b1b0a7f365a494364704f9 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Fri, 19 Nov 2021 18:38:14 +0100 Subject: avcodec/h263: Inline constant Reviewed-by: Michael Niedermayer Signed-off-by: Andreas Rheinhardt --- libavcodec/h263.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h263.h b/libavcodec/h263.h index 491f2e0aac..70fd1ffdc0 100644 --- a/libavcodec/h263.h +++ b/libavcodec/h263.h @@ -103,7 +103,7 @@ static inline int h263_get_motion_length(int val, int f_code){ int l, bit_size, code; if (val == 0) { - return ff_mvtab[0][1]; + return 1; /* ff_mvtab[0][1] */ } else { bit_size = f_code - 1; /* modulo encoding */ -- cgit v1.2.3