1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/h263: Inline constant

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2021-11-19 18:38:14 +01:00
parent 645f705d6a
commit 18f22bfb27

View File

@ -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 */