[FFmpeg-devel] stsz overflow

Alex Converse alex.converse
Tue Aug 25 00:40:51 CEST 2009


On Mon, Aug 24, 2009 at 6:04 PM, Frank Barchard<fbarchard at google.com> wrote:
> On Mon, Aug 24, 2009 at 2:22 PM, Baptiste Coudurier <
> baptiste.coudurier at gmail.com> wrote:
>
>> Hi,
>>
>> + ? ?if(entries>= UINT_MAX / (sizeof(int)*8))
>>
>>>
>>> Why sizeof(int)*8 ?
>>
>
> Thats the max field size (32). ?Here is the surrounding code:

That field size is a number if bits.

>
> [...]



More information about the ffmpeg-devel mailing list