[FFmpeg-devel] Is av_log_level supposed to be exported?

Diego Biurrun diego
Thu Dec 3 09:52:44 CET 2009


On Thu, Dec 03, 2009 at 04:47:28AM +0100, Michael Niedermayer wrote:
> On Wed, Dec 02, 2009 at 10:42:36PM -0200, Ramiro Polla wrote:
> > 
> > av_log_level from libavutil/log.c is only used in that file. It is not
> > declared in libavutil/log.h. It's meant to be used with the
> > av_log_get_level() and av_log_set_level() functions.
> > 
> > Should it be made static in log.c, or declared in libavutil/log.h so
> > users can access it directly?
> 
> should be made static in the next maj ver bump

Why care about API abuse?  I'd just make it static right away...

Diego



More information about the ffmpeg-devel mailing list