summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-19 18:38:14 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-11-21 00:38:56 +0100
commit18f22bfb27e4919572b1b0a7f365a494364704f9 (patch)
tree176f9ab9a12d141c3771fea81fc4c3501573cf12
parent645f705d6ac157ff29bbc45b7591d3a2f70b0b7f (diff)
avcodec/h263: Inline constant
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/h263.h2
1 files changed, 1 insertions, 1 deletions
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 */