[FFmpeg-devel] [PATCH] add context to av_log() calls

Luca Abeni lucabe72
Fri Feb 27 09:18:03 CET 2009

Benoit Fouet wrote:
> On 02/16/2009 02:35 PM, Benoit Fouet wrote:
>> Hi,
>> here are some patches to $subj in libavformat
>> (note: I had to add the context for avi and ape as a parameter to a
>> function)
> some of the patches lack reviews:
>     libavformat/mov.c      : Michael or Baptiste ?
>     libavformat/txd.c      : Ivo ?
>     libavformat/rtp_h264.c : Luca ?
I am not sure if I am the right Luca, anyway I had a look at the patch.
I suspect the
-            av_log(NULL, AV_LOG_DEBUG,
+            av_log(stream, AV_LOG_DEBUG,
kind of changes are wrong, because stream here is an AVStream and I think
AVStream does not contain an AVClass... So, I don't think it can be used
as a context for av_log().


More information about the ffmpeg-devel mailing list