[FFmpeg-devel] [PATCH] Support for variable frame duration

Baptiste Coudurier baptiste.coudurier
Sat Apr 26 19:12:40 CEST 2008


Henrik Gulbrandsen wrote:
> On Sat, 2008-04-26 at 17:29 +0200, Baptiste Coudurier wrote:
> 
> [...]
> 
>>>      } else {
>>> +        AVStream *st = s->streams[sc->ffindex];
>>> +        int64_t next_dts = (sc->current_sample < sc->sample_count)?
>>> +            st->index_entries[sc->current_sample].timestamp : st->duration;
>>> +
>> Remove the empty line, add comment and it will be ok :>
> 
> The comment is already there. The empty line is removed. Of course, in
> my preferred style, I would be more likely to add whitespace and split
> the code into shorter functions, but it's your code to maintain :-)
> 
> [...]
>

Well, patch ok.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-devel mailing list