Merge commit 'a854362b40f0e458db5a1fb0d2612a5702ee0ace'

* commit 'a854362b40f0e458db5a1fb0d2612a5702ee0ace':
  segment: Flush buffered data before finishing a segment

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/head
Michael Niedermayer 12 years ago
commit f74f8bc864
  1. 1
      libavformat/segment.c

@ -201,6 +201,7 @@ static int segment_end(AVFormatContext *s, int write_trailer)
AVFormatContext *oc = seg->avf;
int ret = 0;
av_write_frame(oc, NULL); /* Flush any buffered data */
if (write_trailer)
ret = av_write_trailer(oc);

Loading…
Cancel
Save