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

James Almer jamrial at gmail.com
Sun Feb 19 17:28:31 EET 2017


On 2/9/2017 2:37 PM, Michael Niedermayer wrote:
> 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

Pushed.



More information about the ffmpeg-devel mailing list