Merge commit 'e2ce16392205d8efe9143329ed3fb5fcb15498fa'

* commit 'e2ce16392205d8efe9143329ed3fb5fcb15498fa':
  mpegts: Support running the write_trailer function without an AVIOContext

Merged-by: Michael Niedermayer <michaelni@gmx.at>
pull/101/head
Michael Niedermayer 10 years ago
commit 6b0f54ddc7
  1. 3
      libavformat/mpegtsenc.c

@ -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…
Cancel
Save