ffmpeg | branch: master | Ronald S. Bultje <rsbul...@gmail.com> | Mon Aug 17 20:27:25 2015 -0400| [70a19c482a62bbbcda5a1115cfcd6a708f598fbc] | committer: Ronald S. Bultje
Move ff_dlog from lavc to lavu. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=70a19c482a62bbbcda5a1115cfcd6a708f598fbc --- libavcodec/internal.h | 6 ------ libavutil/internal.h | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libavcodec/internal.h b/libavcodec/internal.h index 0daf669..f93a196 100644 --- a/libavcodec/internal.h +++ b/libavcodec/internal.h @@ -48,12 +48,6 @@ #define FF_CODEC_CAP_INIT_CLEANUP (1 << 1) -#ifdef DEBUG -# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__) -#else -# define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0) -#endif - #ifdef TRACE # define ff_tlog(ctx, ...) av_log(ctx, AV_LOG_TRACE, __VA_ARGS__) #else diff --git a/libavutil/internal.h b/libavutil/internal.h index a46b2b1..047f742 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -250,6 +250,12 @@ void avpriv_request_sample(void *avc, #define SIZE_SPECIFIER "zu" #endif +#ifdef DEBUG +# define ff_dlog(ctx, ...) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__) +#else +# define ff_dlog(ctx, ...) do { if (0) av_log(ctx, AV_LOG_DEBUG, __VA_ARGS__); } while (0) +#endif + /** * A wrapper for open() setting O_CLOEXEC. */ _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog