Mercurial > mplayer.hg
diff libswscale/swscale_internal.h @ 28318:6142aa6d6f38
Declare struct SwsContext before using it, fixes the checkheaders warning:
libswscale/swscale_internal.h:58: warning: `struct SwsContext' declared inside parameter list
libswscale/swscale_internal.h:58: warning: its scope is only this definition or declaration, which is probably not what you want
author | diego |
---|---|
date | Sun, 25 Jan 2009 12:03:28 +0000 |
parents | 877336d3c598 |
children | 75586eb0750d |
line wrap: on
line diff
--- a/libswscale/swscale_internal.h Sun Jan 25 11:59:22 2009 +0000 +++ b/libswscale/swscale_internal.h Sun Jan 25 12:03:28 2009 +0000 @@ -52,6 +52,8 @@ # define APCK_SIZE 16 #endif +struct SwsContext; + typedef int (*SwsFunc)(struct SwsContext *context, uint8_t* src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t* dst[], int dstStride[]);