Merge commit 'a854362b40'
* commit 'a854362b40':
segment: Flush buffered data before finishing a segment
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
f74f8bc864
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue