mpegts: Support running the write_trailer function without an AVIOContext

Multimedia / Libav - Martin Storsjö [martin.st] - 19 December 2014 15:13 UTC

If opening and closing dynamic buffers as AVIOContext, we may not have any AVIOContext available when wanting to close and deallocate the muxer. Allow calling write_trailer despite this.

e2ce163 mpegts: Support running the write_trailer function without an AVIOContext
libavformat/mpegtsenc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Upstream: git.libav.org


  • Share