[FFmpeg-devel] [PATCH] lavfi: change name of tracing functions

Michael Niedermayer michaelni at gmx.at
Sun Jun 10 20:04:34 CEST 2012


On Sun, Jun 10, 2012 at 04:41:20PM +0200, Stefano Sabatini wrote:
> On date Tuesday 2012-06-05 11:56:58 +0200, Stefano Sabatini encoded:
> > Avoid conflicts with the DEBUG macro, which may be defined for different
> > purposes.
> 
> What's currently happening is that even if DEBUG is defined in
> avfilter.c, it is not in video.c, so the tracing code is not enabled
> in the video.o code which results in bogus trace output.
> 
> What I propose is to define a dedicated symbol in internal.h, which
> won't conflict with a DEBUG symbol defined in other files *including*
> internal.h (and which may define DEBUG for internal debugging
> purposes).

TRACE is used in libavcodec, i dont know if its a bad or not to
use the same in libavfilter

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120610/ea4caa75/attachment.asc>


More information about the ffmpeg-devel mailing list