[Ffmpeg-devel] [PATCH] NULL removal from av_log

Michael Niedermayer michaelni
Wed Dec 6 23:27:54 CET 2006


Hi

On Wed, Dec 06, 2006 at 10:16:13PM +0100, Benjamin Larsson wrote:
> Is this patch correct ?
> 
> MvH
> Benjamin Larsson
> 
> -- 
> new tiny signature
> 

> Index: libavcodec/cook.c
> ===================================================================
> --- libavcodec/cook.c	(revision 7236)
> +++ libavcodec/cook.c	(working copy)
> @@ -221,7 +221,7 @@
>              envelope_quant_index_huffbits[i], 1, 1,
>              envelope_quant_index_huffcodes[i], 2, 2, 0);
>      }
> -    av_log(NULL,AV_LOG_DEBUG,"sqvh VLC init\n");
> +    av_log(q,AV_LOG_DEBUG,"sqvh VLC init\n");

hmm, i dont think passing COOKContext will work
whatever is passed needs a
AVClass *av_class;
as first member, in all codecs AVCodecContext or NULL is passed

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

If you really think that XML is the answer, then you definitly missunderstood
the question -- Attila Kinali




More information about the ffmpeg-devel mailing list