Re: [FFmpeg-devel] [PATCH] Fix gif decoder max option

2019-09-16 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > James Almer > Sent: Tuesday, September 17, 2019 3:29 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] Fix gif decoder max option > > On 9/16/2019 10:24 PM, Soft Works wrote: > >&

Re: [FFmpeg-devel] [PATCH] Fix gif decoder max option

2019-09-16 Thread James Almer
On 9/16/2019 10:24 PM, Soft Works wrote: >> From: ffmpeg-devel On Behalf Of >> James Almer >> Sent: Tuesday, September 17, 2019 3:11 AM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH] Fix gif decoder max option >> >> On 9/16/201

Re: [FFmpeg-devel] [PATCH] Fix gif decoder max option

2019-09-16 Thread Soft Works
> From: ffmpeg-devel On Behalf Of > James Almer > Sent: Tuesday, September 17, 2019 3:11 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] Fix gif decoder max option > > On 9/16/2019 10:05 PM, Soft Works wrote: > > An int32 option cannot h

Re: [FFmpeg-devel] [PATCH] Fix gif decoder max option

2019-09-16 Thread James Almer
On 9/16/2019 10:05 PM, Soft Works wrote: > An int32 option cannot have a maximum of UINT32_MAX AV_OPT_TYPE_INT options are int64_t. In this case however the storage type for trans_color in GifState is int. Reading the code i see it's intended to be uint32_t, so i think the correct fix is changing