lavf/segment: slight refactor to seg_write_packet
authorRodger Combs <rodger.combs@gmail.com>
Mon, 7 Mar 2016 02:43:37 +0000 (20:43 -0600)
committerRodger Combs <rodger.combs@gmail.com>
Sat, 2 Apr 2016 18:31:26 +0000 (13:31 -0500)
commit5b4f44f66ae3c42b7497929b6ef5f67e8b1ff0ad
treea7f8b59c299c5ce895595fbea35447c16036f079
parent44a9395b5acf332823b9ac0ebd0e966b190b02f5
lavf/segment: slight refactor to seg_write_packet

This reduces some code duplication, and ensures that cur_entry.last_duration is
always set.
libavformat/segment.c