From 4ad08accb2fffa3b05d39744cc8afaa90b9f7544 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Wed, 30 Jan 2008 13:22:31 +0000 Subject: [PATCH] use context in av_log Originally committed as revision 11668 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index b94b674034..b1d8bd0cd7 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1465,7 +1465,7 @@ static int mov_write_header(AVFormatContext *s) track->timescale = st->codec->time_base.den; av_set_pts_info(st, 64, 1, st->codec->time_base.den); if (track->mode == MODE_MOV && track->timescale > 100000) - av_log(NULL, AV_LOG_WARNING, + av_log(s, AV_LOG_WARNING, "WARNING codec timebase is very high. If duration is too long,\n" "file may not be playable by quicktime. Specify a shorter timebase\n" "or choose different container.\n");