[FFmpeg-devel] [PATCH] Replace all av_dlog() with av_log(AV_LOG_TRACE).

Michael Niedermayer michael at niedermayer.cc
Mon Aug 17 20:31:57 CEST 2015


On Mon, Aug 17, 2015 at 12:00:21PM -0400, Ronald S. Bultje wrote:
[...]
> diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
> index 3c1fcdd..a2522ef 100644
> --- a/libavformat/mpegts.c
> +++ b/libavformat/mpegts.c
> @@ -2458,7 +2458,7 @@ static int mpegts_probe(AVProbeData *p)
>      sumscore = sumscore * CHECK_COUNT / check_count;
>      maxscore = maxscore * CHECK_COUNT / CHECK_BLOCK;
>  
> -    av_dlog(0, "TS score: %d %d\n", sumscore, maxscore);
> +    av_log(0, AV_LOG_TRACE, "TS score: %d %d\n", sumscore, maxscore);

cosmetic issue ad unrelated to the patch but it should NULL instead of 0

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150817/78839723/attachment.sig>


More information about the ffmpeg-devel mailing list