Quoting Luca Barbato (2014-11-05 18:18:26)
> On 05/11/14 18:15, Anton Khirnov wrote:
> > What's the point in allowing preallocated AVFormatContext? It adds weird
> > corner cases to the API without much gain (that I can see).
> >
> 
> Symmetry with avformat_open_input mainly.
> 

It's not symmetric though. You still need to call write_header for
muxing, while for demuxing you can immediately start the demuxing loop.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to