[Ffmpeg-devel] av_log() bloatedness

Rich Felker dalias
Mon Jul 24 16:43:47 CEST 2006

On Mon, Jul 24, 2006 at 03:23:55PM +0200, Michel Bardiaux wrote:
> Michael Niedermayer wrote:
> >Hi
> >
> >instead of directly using av_log_callback() we have av_log() and av_vlog()
> >instead of directly setting av_log_level we have av_log_get/set_level()
> >
> >why?
> >is there some deeper reason behind this? or just the CS/OOP/java 
> >braindamage
> >if later i will remove it under #if LIBAVUTIL_VERSION_INT < ... so that
> >it will disaprear the next time we break compatibility
> >
> >
> >
> Now this *had* to happen while I (as primary author for av_log) was on 
> vacation and unable to defend my design! Oh well... as we say in French 
> "Les absents ont toujours tort"...
> I guess using shared ffmpeg libs under windows will become even more 
> difficult, but its hard to say before the change is stabilized.

Yes, see the other thread. I kinda expect this change will be
reversed, though perhaps via the macro method I suggested.

BTW could you comment in the other thread on why so many calls to
av_log lack a context?


More information about the ffmpeg-devel mailing list