[FFmpeg-devel] [PATCH]Avoid non-strict pointer aliasing in kega decoder

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 4 09:11:29 CET 2013



On 4 Mar 2013, at 08:34, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
> 
>> On 4 Mar 2013, at 00:35, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:
> 
>>> Attached patch fixes the fate failure for icc 13.1 
> 
>> Apart from that, when I suggested memcpy I meant replacing 
>> the whole for loop by a single memcpy, no need to
>> copy the pixels one by one.
> 
> That failed for me with gcc, could you suggest how to do it 
> correctly?

What do you mean by 'failed' and what did you try?
I suspect that you might have to make sure outcnt is still incremented, maybe you forgot that?


More information about the ffmpeg-devel mailing list