[FFmpeg-devel] [PATCH] Fix MSRLE type punning
Kostya
kostya.shishkov
Sat Dec 6 10:09:55 CET 2008
On Fri, Dec 05, 2008 at 07:52:23PM +0000, M?ns Rullg?rd wrote:
> "Alex Converse" <alex.converse at gmail.com> writes:
>
> > Since my last punning related email went over so well...
> >
> > libavcodec/msrledec.c:200: warning: dereferencing type-punned pointer will
> > break strict-aliasing rules
> >
> > Regards,
> > Alex Converse
> >
[patch skipped]
>
> That patch looks OK but for a different reason. The assignments it's
> warning about appear to be unnecessary, so this patch seems correct:
>
[another patch skipped]
>
>
> --
> M?ns Rullg?rd
Thanks both of you. Applied (BTW that code comes from the first decoder
by me so no wonder it's a bit silly).
More information about the ffmpeg-devel
mailing list