[FFmpeg-devel] [PATCH 1/3] avcodec/webp: Use uint8_t for code lengths

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Oct 26 10:31:20 EET 2020


"zhilizhao(赵志立)":
> 
> 
>> On Oct 26, 2020, at 3:24 PM, Andreas Rheinhardt <andreas.rheinhardt at gmail.com> wrote:
>>
>> Andreas Rheinhardt:
>>> They are always in the range 0..15, so using an int is not necessary.
>>> Furthermore, using an int would not work if sizeof(int) == 4 as
> 
> You mean if sizeof(int) != 4 ?
> 

Good catch. Fixed locally. Thanks.

- Andreas


More information about the ffmpeg-devel mailing list