Make packet interleaving in the muxer not scan through the whole
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Sep 2009 00:59:15 +0000 (00:59 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Sep 2009 00:59:15 +0000 (00:59 +0000)
commitddce56efc5976dbc4910a2e59bfd06f9f5f0ae4f
treeff93799ddcf1a45ee6204e6b8a73f2d695d9d2fa
parent42831b46ef03f00b86bf13c509a5e9b01b3fe457
Make packet interleaving in the muxer not scan through the whole
buffer when simply appending at the end works.
Much faster if one stream ends prematurely.
Fixes issue1379.

Originally committed as revision 19870 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avformat.h
libavformat/utils.c