[FFmpeg-devel] Array bug in aes.c

Michael Niedermayer michaelni
Fri Jan 18 12:47:26 CET 2008


On Fri, Jan 18, 2008 at 12:23:02PM +0100, Reimar D?ffinger wrote:
> Hello,
> On Fri, Jan 18, 2008 at 05:08:35AM +0100, Michael Niedermayer wrote:
> > why not
> > 
> > if(!(&enc_multbl)[1][0][-1]){
> 
> Shouldn't
> if(!(&enc_multbl + 1)[0][-1]){
> do the same? 

no
but

if(!(*(&enc_multbl + 1))[0][-1]){

would, if that is more readable, i dunno

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080118/ef6df29b/attachment.pgp>



More information about the ffmpeg-devel mailing list