[FFmpeg-devel] [PATCH] avcodec/vp3data: use more compact data type
Michael Niedermayer
michael at niedermayer.cc
Mon Jan 7 21:22:37 EET 2019
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190107/55c9cb4f/attachment.sig>
More information about the ffmpeg-devel
mailing list