Commit 6b0f54dd authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'e2ce1639'

* commit 'e2ce1639':
  mpegts: Support running the write_trailer function without an AVIOContext
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 3a15168a e2ce1639
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment