[FFmpeg-devel] [PATCH] H.264/AVCHD interlaced fixes

Carl Eugen Hoyos cehoyos
Fri Feb 20 00:04:42 CET 2009


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > -        if(!((~*(uint64_t*)(src+i) & (*(uint64_t*)(src+i) -
0x0100010001000101ULL)) & 0x8000800080008080ULL))
> > +        if(!((~*(const uint64_t*)(src+i) & (*(const uint64_t*)(src+i) -
0x0100010001000101ULL)) & 0x8000800080008080ULL))
> >  # else
> >  #   define RS 3
> >      for(i=0; i+1<length; i+=5){
> > -        if(!((~*(uint32_t*)(src+i) & (*(uint32_t*)(src+i) - 0x01000101U)) &
0x80008080U))
> > +        if(!((~*(const uint32_t*)(src+i) & (*(const uint32_t*)(src+i) -
0x01000101U)) & 0x80008080U))
> >  # endif
> >              continue;
> >          if(i>0 && !src[i]) i--;
> 
> hunk/patch ok

Applied the patch that fixed two warnings.

Carl Eugen






More information about the ffmpeg-devel mailing list