[FFmpeg-devel] [PATCH 1/2] avcodec/huffyuvdsp: use an actual unsigned long constant

Michael Niedermayer michael at niedermayer.cc
Thu Feb 9 19:37:18 EET 2017


On Wed, Feb 08, 2017 at 01:13:56PM -0300, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> Decent compilers are smart enough to truncate those ULL constants on targets
> where long is 32 bits (and do things like shift+and/add instead of mul).
> This is for those that are not.
> 
>  libavcodec/huffyuvdsp.c | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)

LGTM

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170209/07717112/attachment.sig>


More information about the ffmpeg-devel mailing list