Browse Source

Merge commit 'a854362b40f0e458db5a1fb0d2612a5702ee0ace'

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

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
f74f8bc864
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/segment.c

+ 1
- 0
libavformat/segment.c View File

@@ -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