Re: [FFmpeg-devel] [PATCH 2/3] lavf/segment: slight refactor to seg_write_packet

2016-03-25 Thread Rodger Combs
> On Mar 25, 2016, at 09:45, Stefano Sabatini wrote: > > On date Sunday 2016-03-06 20:49:23 -0600, Rodger Combs encoded: >> This reduces some code duplication, and ensures that cur_entry.last_duration >> is >> always set. >> --- >> libavformat/segment.c | 12 +++- >> 1 file changed, 7 in

Re: [FFmpeg-devel] [PATCH 2/3] lavf/segment: slight refactor to seg_write_packet

2016-03-25 Thread Stefano Sabatini
On date Sunday 2016-03-06 20:49:23 -0600, Rodger Combs encoded: > This reduces some code duplication, and ensures that cur_entry.last_duration > is > always set. > --- > libavformat/segment.c | 12 +++- > 1 file changed, 7 insertions(+), 5 deletions(-) > > diff --git a/libavformat/segmen

[FFmpeg-devel] [PATCH 2/3] lavf/segment: slight refactor to seg_write_packet

2016-03-06 Thread Rodger Combs
This reduces some code duplication, and ensures that cur_entry.last_duration is always set. --- libavformat/segment.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 818c0c9..6ad991f 100644 --- a/libavformat/segme