[FFmpeg-cvslog] avcodec/vp3data: use more compact data type

Peter Ross git at videolan.org
Tue Jan 8 13:22:00 EET 2019


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Mon Jan  7 09:01:14 2019 +1100| [2659a0fe36327233a5f2f3968d638d061ecbba39] | committer: Peter Ross

avcodec/vp3data: use more compact data type

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

 libavcodec/vp3data.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vp3data.h b/libavcodec/vp3data.h
index 3884bca878..c82b1b3a86 100644
--- a/libavcodec/vp3data.h
+++ b/libavcodec/vp3data.h
@@ -73,7 +73,7 @@ static const uint8_t vp31_dc_scale_factor[64] = {
      20,  10,  10,  10,  10,  10,  10,  10
 };
 
-static const uint32_t vp31_ac_scale_factor[64] = {
+static const uint16_t vp31_ac_scale_factor[64] = {
     500, 450, 400, 370, 340, 310, 285, 265,
     245, 225, 210, 195, 185, 180, 170, 160,
     150, 145, 135, 130, 125, 115, 110, 107,



More information about the ffmpeg-cvslog mailing list