mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Merge commit 'a854362b40f0e458db5a1fb0d2612a5702ee0ace'
* commit 'a854362b40f0e458db5a1fb0d2612a5702ee0ace': segment: Flush buffered data before finishing a segment Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
f74f8bc864
@ -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…
x
Reference in New Issue
Block a user