[FFmpeg-devel] [PATCH 5/5] avcodec/h263: Inline constant

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Nov 19 21:16:52 EET 2021


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 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 */
-- 
2.30.2



More information about the ffmpeg-devel mailing list