[FFmpeg-devel] [PATCH 5/5] avcodec/mobiclip: Use smaller type for codes
Michael Niedermayer
michael at niedermayer.cc
Sat Oct 24 15:32:56 EEST 2020
On Sat, Oct 24, 2020 at 01:05:00PM +0200, Andreas Rheinhardt wrote:
> Even though the length of these codes is > 8, only the lowest seven bits
> are ever set (because the long codes are on the left of the tree), so
> one can use an uint8_t for them, saving space.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> libavcodec/mobiclip.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
should be ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201024/1fe63800/attachment.sig>
More information about the ffmpeg-devel
mailing list