Message ID | 4eff9f21222ed0911183019e79f2be87c52fa185.1546861356.git.pross@xvid.org |
---|---|
State | Accepted |
Commit | 2659a0fe36327233a5f2f3968d638d061ecbba39 |
Headers | show |
On Mon, Jan 07, 2019 at 10:45:02PM +1100, Peter Ross wrote: > --- > this table is used at vp3_decode_init time, and is needlessly uint32_t. > will push in a day or so. > > 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] = { LGTM thx [...]
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,