Remove some void pointers arithmetic
authorLuca Abeni <lucabe72@email.it>
Tue, 26 Dec 2006 16:12:37 +0000 (16:12 +0000)
committerLuca Abeni <lucabe72@email.it>
Tue, 26 Dec 2006 16:12:37 +0000 (16:12 +0000)
Originally committed as revision 21771 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/swscale_internal.h

index 837b6ea..06ce13f 100644 (file)
@@ -101,10 +101,10 @@ typedef struct SwsContext{
        int dstY;
        int flags;
        void * yuvTable;                        // pointer to the yuv->rgb table start so it can be freed()
-       void * table_rV[256];
-       void * table_gU[256];
+       uint8_t * table_rV[256];
+       uint8_t * table_gU[256];
        int    table_gV[256];
-       void * table_bU[256];
+       uint8_t * table_bU[256];
 
        //Colorspace stuff
        int contrast, brightness, saturation;   // for sws_getColorspaceDetails