[MPlayer-cvslog] r26947 - trunk/libswscale/swscale.c

Baptiste Coudurier baptiste.coudurier at smartjog.com
Sun Jun 1 10:08:20 CEST 2008


Dominik 'Rathann' Mierzejewski wrote:
> On Sunday, 01 June 2008 at 05:34, bcoudurier wrote:
>> Author: bcoudurier
>> Date: Sun Jun  1 05:34:39 2008
>> New Revision: 26947
>>
>> Log:
>> add const, suppress warnings
>>
>> Modified:
>>    trunk/libswscale/swscale.c
>>
>> Modified: trunk/libswscale/swscale.c
>> ==============================================================================
>> --- trunk/libswscale/swscale.c	(original)
>> +++ trunk/libswscale/swscale.c	Sun Jun  1 05:34:39 2008
>> @@ -1848,7 +1848,7 @@ static int gray16swap(SwsContext *c, uin
>>      int y=      srcSliceY;
>>      int height= srcSliceH;
>>      int i, j;
>> -    uint16_t *srcPtr= src[0];
>> +    uint16_t *srcPtr= (uint16_t*)src[0];
> 
> You're not adding "const" here, just casting.
> 

Yes, thanks, changed.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc.                                http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA



More information about the MPlayer-cvslog mailing list