[FFmpeg-devel] [PATCH] fix 'warning: initialisation from incompatible pointer type' in aes.c

Reimar Döffinger Reimar.Doeffinger
Wed Mar 5 14:11:53 CET 2008


On Wed, Mar 05, 2008 at 11:41:51PM +1100, mark cox wrote:
> On Wed, Mar 5, 2008 at 11:32 PM, Michael Niedermayer <michaelni at gmx.at>
> wrote:
> > On Wed, Mar 05, 2008 at 08:05:46PM +0800, Zuxy Meng wrote:
> > > 2008/3/5, Michael Niedermayer <michaelni at gmx.at>:
> > > > On Wed, Mar 05, 2008 at 10:11:37PM +1100, mark cox wrote:
> > > > > fix 'warning: initialisation from incompatible pointer type' in
> > aes.c
> > > >
> > > > rejected, learn C, test your code like the patch submission guidlines
> > > > require, ...
> > >
> > > Any problem with this patch???
> >
> > yes
> > hint: the patch removes a warning, sadly the code wont work anymore
> > afterwards.
> >
> 
> I have seen my error, but i can't figure out the correct/non-messy cast to
> do what i want.

You touch the heart of why aes.c generates so many warnings :-)

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list