Commit 73d046e2 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

add const, suppress warnings

Originally committed as revision 26947 to svn://
parent 87cf861c
......@@ -1848,7 +1848,7 @@ static int gray16swap(SwsContext *c, uint8_t* src[], int srcStride[], int srcSli
int y= srcSliceY;
int height= srcSliceH;
int i, j;
uint16_t *srcPtr= src[0];
uint16_t *srcPtr= (uint16_t*)src[0];
uint16_t *dstPtr= dst[0] + dstStride[0]*y/2;
for (i=0; i<height; i++)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment