[FFmpeg-cvslog] avcodec/mpegvideo_enc: Add missing entry to non_linear_qscale table

Michael Niedermayer git at videolan.org
Fri Sep 18 03:29:45 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Thu Sep 17 21:37:27 2015 +0200| [90d239a441f2f3f554b4a53c527bfe76119c36ed] | committer: Michael Niedermayer

avcodec/mpegvideo_enc: Add missing entry to non_linear_qscale table

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/mpegvideo_enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index b84eba1..65f6e68 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -172,7 +172,7 @@ static inline void update_qscale(MpegEncContext *s)
         int bestdiff=INT_MAX;
         int best = 1;
         static const uint8_t non_linear_qscale[] = {
-            1,2,3,4,5,6,7,8,9,10,11,12,14,16,18,20,24,26,28
+            1,2,3,4,5,6,7,8,9,10,11,12,14,16,18,20,22,24,26,28
         };
 
         for (i = 0 ; i<FF_ARRAY_ELEMS(non_linear_qscale); i++) {



More information about the ffmpeg-cvslog mailing list