[FFmpeg-cvslog] r15829 - trunk/libavformat/matroskadec.c

Måns Rullgård mans
Sun Nov 16 00:29:02 CET 2008


Michael Niedermayer <michaelni at gmx.at> writes:

> On Sat, Nov 15, 2008 at 04:34:51PM +0100, aurel wrote:
>> Author: aurel
>> Date: Sat Nov 15 16:34:51 2008
>> New Revision: 15829
>> 
>> Log:
>> matroskadec: fix index timestamps for some broken files
>> fix issue697
> [...]
>> @@ -1369,6 +1370,11 @@ static int matroska_read_header(AVFormat
>>  
>>      index_list = &matroska->index;
>>      index = index_list->elem;
>> +    if (index_list->nb_elem
>> +        && index[0].time > 100000000000000/matroska->time_scale) {
>
> doesnt the constant need a LL postfix?

No, the type defaults, roughly speaking, to the smallest type which
can represent the value.  Type suffixes are only needed to force a
wider type, and that is not required here.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-cvslog mailing list