mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge commit 'e2ce16392205d8efe9143329ed3fb5fcb15498fa'
* commit 'e2ce16392205d8efe9143329ed3fb5fcb15498fa': mpegts: Support running the write_trailer function without an AVIOContext Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
6b0f54ddc7
@ -1400,7 +1400,8 @@ static int mpegts_write_end(AVFormatContext *s)
|
||||
MpegTSService *service;
|
||||
int i;
|
||||
|
||||
mpegts_write_flush(s);
|
||||
if (s->pb)
|
||||
mpegts_write_flush(s);
|
||||
|
||||
for (i = 0; i < s->nb_streams; i++) {
|
||||
AVStream *st = s->streams[i];
|
||||
|
Loading…
Reference in New Issue
Block a user