[FFmpeg-devel] [PATCH] Support for variable frame duration
Henrik Gulbrandsen
henrik
Sat Apr 26 18:26:22 CEST 2008
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 :-)
/Henrik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: video_duration_mov_4.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080426/12759b51/attachment.bin>
More information about the ffmpeg-devel
mailing list