[FFmpeg-devel] [PATCH] cmdutils: use const AVClass * when senseful

Stefano Sabatini stefano.sabatini-lala at poste.it
Fri May 20 10:09:28 CEST 2011


On date Thursday 2011-05-19 22:34:45 +0200, Michael Niedermayer encoded:
> On Thu, May 19, 2011 at 10:13:14PM +0200, Stefano Sabatini wrote:
> > Fix warnings:
> > cmdutils.c: In function ‘opt_default’:
> > cmdutils.c:304: warning: initialization discards qualifiers from pointer target type
> > cmdutils.c: In function ‘set_context_opts’:
> > cmdutils.c:431: warning: passing argument 2 of ‘alloc_priv_context’ discards qualifiers from pointer target type
> > cmdutils.c:414: note: expected ‘struct AVClass *’ but argument is of type ‘const struct AVClass *’
> 
> ok

Thrown.
-- 
FFmpeg = Foolish & Faithless Martial Purposeless Epic Game


More information about the ffmpeg-devel mailing list