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:
		@@ -201,6 +201,7 @@ static int segment_end(AVFormatContext *s, int write_trailer)
 | 
				
			|||||||
    AVFormatContext *oc = seg->avf;
 | 
					    AVFormatContext *oc = seg->avf;
 | 
				
			||||||
    int ret = 0;
 | 
					    int ret = 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    av_write_frame(oc, NULL); /* Flush any buffered data */
 | 
				
			||||||
    if (write_trailer)
 | 
					    if (write_trailer)
 | 
				
			||||||
        ret = av_write_trailer(oc);
 | 
					        ret = av_write_trailer(oc);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user