[Ffmpeg-devel] Re: av_log() bloatedness

Michael Niedermayer michaelni
Sun Jul 23 12:34:24 CEST 2006


On Sun, Jul 23, 2006 at 09:57:31AM +0100, M?ns Rullg?rd wrote:
> Sigbj?rn Skj?ret said:
> > [..not subscribed to the list, will probably break thread, sorry..]
> >
> >>> supposedly somebody could like to have a custom callback() like a syslog
> >>> one.
> >> then he sets av_log= my_callback;
> >
> > Although I'm aware that lavc isn't recommended as a shared library atm I guess
> > it will some time in the future be allowed?
> Despite what Rich says, shared libs are supported.
> > If so then the above suggestion is not practical for non-dl methods as
> > variables are not exported .. my impression is that this is the reason
> > av_log_set_callback() exists (and it works great as well), it would be a pity
> > if this was removed...
> It would break windows dlls, not proper shared libs.

and as such av_log_set_callback() belongs to the windows dlls but not proper
shared libs
personally i would have no objections to a seperate file which contains
some warpers and which is only compiled on windos, but i do have objections
to spread this mess all over the source


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list