[FFmpeg-cvslog] r30234 - trunk/libswscale/x86/yuv2rgb_template.c

Måns Rullgård mans
Thu Jan 7 14:03:39 CET 2010


"Zuxy Meng" <zuxy.meng at gmail.com> writes:

> "ReimarD?ffinger" <Reimar.Doeffinger at gmx.de> ???? 
> news:20100107083937.GB8680 at 1und1.de...
>> On Thu, Jan 07, 2010 at 08:13:18AM +0100, zuxy wrote:
>>> Author: zuxy
>>> Date: Thu Jan  7 08:13:18 2010
>>> New Revision: 30234
>>>
>>> Log:
>>> Remove const to avoid a bunch of GCC warnings against discarded
>>> qualifiers and
>>> incompatible pointer type.
>>
>> What? Then you should fix those bugs/incorrect usages instead of
>> hiding the symptoms, or?
>
> These two functions' definition contradicts with the typedef of
> SwsFunc in the first place.

So fix that.  Keeping 'src' const seems correct to me.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list