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

Stefano Sabatini stefasab at gmail.com
Sun Jun 10 16:41:20 CEST 2012


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).

> ---
>  libavfilter/audio.c    |    2 +-
>  libavfilter/avfilter.c |   20 +++++++++-----------
>  libavfilter/internal.h |   16 ++++++++++++----
>  libavfilter/video.c    |   10 +++++-----
>  4 files changed, 27 insertions(+), 21 deletions(-)
[...]

Ping.
-- 
FFmpeg = Forgiving and Forgiving Meaningless Powerful Encoding/decoding God


More information about the ffmpeg-devel mailing list