[FFmpeg-cvslog] avcodec/h263: Inline constant

Andreas Rheinhardt git at videolan.org
Sun Nov 21 02:00:14 EET 2021


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Nov 19 18:38:14 2021 +0100| [18f22bfb27e4919572b1b0a7f365a494364704f9] | committer: Andreas Rheinhardt

avcodec/h263: Inline constant

Reviewed-by: Michael Niedermayer <michael at niedermayer.cc>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=18f22bfb27e4919572b1b0a7f365a494364704f9
---

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



More information about the ffmpeg-cvslog mailing list