[FFmpeg-devel] [RFC] Split libavformat

Aurelien Jacobs aurel
Thu Nov 22 13:38:16 CET 2007


Luca Abeni wrote:

> > - Both avdevice_register_all avnet_register_all call
> > av_register_all, why?
> 
> Because to use libavdevice or libavnet we need to initialize
> libavformat,

av_register_all() *don't* initialize libavformat !
Here is what it does:
 - initialize lavc
 - register all codecs
 - register all formats

I guess the last 2 steps are not needed to make use of
libavdevice (not sure about 1st step).
I don't like this call to av_register_all. (And I think
av_register_all should be renamed to avformat_register_all
anyway)

Aurel




More information about the ffmpeg-devel mailing list