diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-12-24 03:12:07 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-12-24 03:12:07 +0000 |
commit | b7c51ebc89e98e27bed2664da7037c665b2f7a92 (patch) | |
tree | a6ddcceb2df47707b76c9e44be251f379c14d1a4 /libavcodec/h263.c | |
parent | d4f0c2fcc3dc6681578376f38343582d14371e3c (diff) | |
download | ffmpeg-b7c51ebc89e98e27bed2664da7037c665b2f7a92.tar.gz |
slightly better mv_penalty table
Originally committed as revision 4770 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263.c')
-rw-r--r-- | libavcodec/h263.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263.c b/libavcodec/h263.c index 3c0712d047..d3c72d132c 100644 --- a/libavcodec/h263.c +++ b/libavcodec/h263.c @@ -1763,7 +1763,7 @@ static void init_mv_penalty_and_fcode(MpegEncContext *s) if(code<33){ len= mvtab[code][1] + 1 + bit_size; }else{ - len= mvtab[32][1] + 2 + bit_size; + len= mvtab[32][1] + av_log2(code>>5) + 2 + bit_size; } } |